-
Notifications
You must be signed in to change notification settings - Fork 18
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
enum support #54
Comments
@Miamoto-Musashi I thought about it a long time ago to implement it. String list convert to enum. Example: {
"e@user_status": ["online", "offline" ]
} |
rather than {
"e@user_status": ["online", "offline" ]
} I think is more consistent with rest of notation {
"user_status.enum": ["online", "offline" ]
} |
Would this be a simple task, I dont use typescript, but I would like to help add this. |
@Prn-Ice It may be a little tricky, but anything is possible. This source code should be good rewrite to make it easy to implement :) |
I'll play around with it, I'll let you know if I give up. |
Then your tour will be begin in the I think it will be enough to include the enum checker annotation and the generator do the rest. Then just add syntax. I will join to when I will finish one project. |
Any Update on this one? |
Sadly I haven't gotten up to this till now. And after finding this package, I'm not sure I'll need to. |
If you want to generate |
would be nice to have enums support
The text was updated successfully, but these errors were encountered: