You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently the (default) enum generation does not use the maximal assertiveness of enum objects.
More specifically the type of any enum value is always the union of all enum values - this could be more specific.
This would help catch bugs, e.g. by allowing switch exhaustive checks etc..
Is your feature request related to a problem? Please describe.
Currently the (default) enum generation does not use the maximal assertiveness of enum objects.
More specifically the type of any enum value is always the union of all enum values - this could be more specific.
This would help catch bugs, e.g. by allowing switch exhaustive checks etc..
Current Enum generation:
Describe the solution you'd like
It would be better to generate this instead (possibly configurable):
Describe alternatives you've considered
Additional context
stringEnums
Any feedback welcome, especially wether this should change the default enum generation or should be opt in via some configration option.
The text was updated successfully, but these errors were encountered: