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

Support for internally tagged enum #182

Merged
merged 2 commits into from
May 29, 2024
Merged

Conversation

YBeaugnon
Copy link
Contributor

Add partial support for internally tagged enum via a #[yaserde(tag="type")] attribute.

This is my first time doing proc macro so any feedback would be helpful.

yaserde/tests/enum.rs Show resolved Hide resolved
yaserde_derive/src/de/expand_enum.rs Outdated Show resolved Hide resolved
@MarcAntoine-Arnaud
Copy link
Contributor

@YBeaugnon is it fine for you ? The MR still in draft.

For me your code looks good.

@YBeaugnon YBeaugnon marked this pull request as ready for review May 27, 2024 19:16
@YBeaugnon
Copy link
Contributor Author

Sorry, forgot to remove draft status.

@MarcAntoine-Arnaud MarcAntoine-Arnaud merged commit 177fa8e into media-io:main May 29, 2024
8 checks passed
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