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

XML values are always required #125

Merged
merged 2 commits into from
Apr 12, 2024
Merged

Conversation

RoanH
Copy link
Contributor

@RoanH RoanH commented Apr 10, 2024

This is a potential fix for the issue described in #124 together with a unit test to prevent any future regressions.

fixes #124


Since I just also ran into the issue with primitive fields I've added a potential fix and unit test for that to this PR as well. I decided to not make two separate PRs to prevent a potential merge conflict as both changes affect the same areas of the codebase.

fixes #107

Since a primitive will always be present with some value it
does not really make sense to wrap them in an optional.

fix issue sabomichal#107
@sabomichal sabomichal merged commit 3a96ffa into sabomichal:master Apr 12, 2024
2 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
2 participants