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

Unified nullable trait for encoding #51

Merged
merged 1 commit into from
Mar 2, 2025
Merged

Unified nullable trait for encoding #51

merged 1 commit into from
Mar 2, 2025

Conversation

einarmo
Copy link
Contributor

@einarmo einarmo commented Feb 28, 2025

There's currently duplicated logic between XML and JSON. This unifies them into a single trait, and adds a derive macro for that.

It also expands the logic around enums/unions a bit, so that we cover more cases that are null according to the standard.

There's currently duplicated logic between XML and JSON. This unifies
them into a single trait, and adds a derive macro for that.

It also expands the logic around enums/unions a bit, so that we cover
more cases that are null according to the standard.
@einarmo einarmo merged commit 18459c7 into master Mar 2, 2025
6 checks passed
@einarmo einarmo deleted the unify-nullable branch March 2, 2025 16:16
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.

2 participants