-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New option onlyEnums
for Typescript
#7718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: c3eeefe The changes in this PR will be included in the next version bump. This PR includes changesets to release 41 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/theguild/graphql-code-generator/6XYP1vLxg1YeQsdZ7TZnRbPJfDz8 |
Are any changes needed for this? We're going to be using this in one of our projects ASAP after being merged. |
@charlypoly any ETA on a release date for this? We're really looking forward to implementing this in our project. |
This would be a great addition. Thanks for the contribution @Borduhh |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Released in |
🚨 IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.
Description
Added so that typescript projects are able to export types and enums independently. This is especially useful for using generated types as a namespace in monorepos.
Related #3475 (issue)
Type of change
Please delete options that are not relevant.
Screenshots/Sandbox (if appropriate/relevant):
Adding links to sandbox or providing screenshots can help us understand more about this PR and take action on it as appropriate
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Environment:
@graphql-codegen/...
:Checklist:
Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...