Skip to content
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

Add names to Enums #52

Open
Serpentarius13 opened this issue Sep 13, 2024 · 2 comments
Open

Add names to Enums #52

Serpentarius13 opened this issue Sep 13, 2024 · 2 comments

Comments

@Serpentarius13
Copy link

Serpentarius13 commented Sep 13, 2024

According to that, for reusable enum generation (which would fix generating tons of exactly-the-same-not-compatible-with-eachother-enums on frontend), we need to add enumName property to ApiProperty. I think we can do it now fairly easily, because the name of enums could match import exactly. Otherwise, on every route there's a new enum and its literally unusable

p.s. I wonder what should I do to contribute? What's the process? @Brakebein

@Brakebein
Copy link
Owner

enumName is now added to ApiProperty. Please checkout 1.24.0-beta1.

@Serpentarius13
Copy link
Author

Thanks!

Brakebein added a commit that referenced this issue Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants