Skip to content

XML values are always required#125

Merged
sabomichal merged 2 commits intosabomichal:masterfrom
RoanH:requiredvalues
Apr 12, 2024
Merged

XML values are always required#125
sabomichal merged 2 commits intosabomichal:masterfrom
RoanH:requiredvalues

Conversation

@RoanH
Copy link
Copy Markdown
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

RoanH added 2 commits April 10, 2024 11:37
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
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.

XML values are always required Optional getter and builder generation problematic with primitive integer field

2 participants