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

Handle validation of empty enum correctly #178

Merged
merged 2 commits into from Apr 13, 2022

Conversation

sreenathkrishnan
Copy link
Contributor

@sreenathkrishnan sreenathkrishnan commented Apr 12, 2022

@TedDriggs Noticed a minor bug when using this wonderful crate :)

@TedDriggs
Copy link
Owner

Thanks for the submission! I think I'm understanding that the bug here is "shape validation will incorrectly allow enums that have no variants when only struct_* shapes are declared supported" - is that right?

@sreenathkrishnan
Copy link
Contributor Author

Yep, that's right!

@TedDriggs TedDriggs merged commit 445e6bb into TedDriggs:master Apr 13, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants