dotansimha / dotansimha/graphql-code-generator
Support for `futureProofEnums` with `enumsAsConst` in `@graphql-codegen/typescript`
Open
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 23
Description
### Is your feature request related to a problem? Please describe.
If using `enumsAsConst: true`, there's no way to include `%future added value` in the exported types.
Setting `futureProofEnums: true` has no effect on the output.
### Describe the solution you'd like
Ideally setting `futureProofEnums: true` would include `%future added value` without any change to the exported `const`
### Describe alternatives you've considered
_No response_
### Is your feature request related to a problem? Please describe.
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.