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

Avoid setting all properties to null in ModelConstructionTest #640

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

Azquelt
Copy link
Member

@Azquelt Azquelt commented Jun 18, 2024

At some point, I had issues with Schema.booleanSchema() - when the schema is a boolean, rather than an object, it's not defined how the other methods should work.

My solution was to set fields back to null, but that's not necessarily required by the spec - note #558

This is an alternate solution where we test this properly last, rather than via reflection.

@Azquelt Azquelt changed the title Avoid setting all properties to null Avoid setting all properties to null in ModelConstructionTest Jun 18, 2024
@Azquelt Azquelt merged commit 24b250b into eclipse:main Jun 19, 2024
4 checks passed
@Azquelt Azquelt deleted the remove-set-null branch June 19, 2024 09:47
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