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

Top level enums are not handled #101

Open
clux opened this issue Nov 11, 2022 · 0 comments
Open

Top level enums are not handled #101

clux opened this issue Nov 11, 2022 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@clux
Copy link
Member

clux commented Nov 11, 2022

A rare case that we haven't seen, but should support because kube supports it, and it makes unit testing easier (no need to wrap enums in structs to check their output). Came out of #100

There is a test for this top_level_enum_with_integers which is currently #[ignore]d because of this bug.

We should handle enum members at the top level like we do for struct members.

@clux clux added the bug Something isn't working label Nov 11, 2022
@clux clux added the help wanted Extra attention is needed label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant