Skip to content

--union-enums option has no effect #1161

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

Closed
skadermen opened this issue Apr 4, 2025 · 4 comments
Closed

--union-enums option has no effect #1161

skadermen opened this issue Apr 4, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@skadermen
Copy link

With latest version --union-enums option has no effect - in generated file I still have all the enums.
But in version 13.0.23 it works fine.

By checking the code I've found --generate-union-enums option - and with it I got my unions instead of enums on the latest version. Problem is that this change does not listed anywhere.

@sylphrena0
Copy link

I've noticed a number of breaking changes for command line execution since 13.0.23 that were not noted, some as small as the generate-api-command now requiring a generate argument. It would be preferable to have such changes be a larger version bump and noted clearly in the changelog to avoid headaches from a minor version bump.

@smorimoto
Copy link
Collaborator

See #1141

@smorimoto smorimoto added the bug Something isn't working label Apr 14, 2025
@skadermen
Copy link
Author

skadermen commented Apr 14, 2025

See #1141

are you kidding? --union-enums stopped working in 13.0.28, there was no 13.1.0 on Releases page.

I've tried right now once more - --union-enums is not working in 13.0.28

@smorimoto
Copy link
Collaborator

This should fix the breaking change. I wasn't kidding, but that was certainly not a very good change. But the big problem with this project is the lack of maintainability, and it's pretty hard to fix that incrementally. And nobody works on those tasks. I hope you understand. #1198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants