apollographql / apollographql/apollo-tooling
Generate const and numeric enums for TypeScript
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 460
- PR merge metrics
- No merged PRs in 30d
Description
There are a lot of scenarios which requires [`const enum`](https://www.typescriptlang.org/docs/handbook/enums.html#const-enums) and [numeric enum](https://www.typescriptlang.org/docs/handbook/enums.html#numeric-enums) in addition to [`string enum`](https://www.typescriptlang.org/docs/handbook/enums.html#string-enums).
Would be great to be able to control the type of enum to be issued.
The similar requirements has been mentioned in #610 and #1044.
Contributor guide
Research direction
The issue names no implementation files, tests, or entry points. Start by tracing the TypeScript enum-generation path and reviewing related issues #610 and #1044; done means providing control over const, numeric, or string enum output and verifying the generated results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100