MichalLytek / MichalLytek/type-graphql
Add config to enum to make it lowerCase
- Dominant language
- TypeScript
- Stars
- 8.1k
- Forks
- 672
- PR merge metrics
- No merged PRs in 30d
Description
It would be good to have configuration in order to change casing for enum values disregarding what tech stack i use.
e.g. for NodeJs it is nice to have enum upercased (having in minde that TypeScript users got used to use i tlike this from C#), but dor Dart best code practice is camelCassing. If re in mongodb camelCased enum values as weel as in dart code - I am forced to have same in NodeJs.
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating enum generation and configuration handling in the TypeScript GraphQL schema code, then check how enum values are currently emitted. Done means a configuration can control enum casing independently of the consuming language, with tests covering the requested casing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100