Skip to content

Conversation

@lahma
Copy link
Collaborator

@lahma lahma commented May 1, 2025

JsonSchema.Required property doesn't allow injecting a boolean value, this will always cause a serialization exception under the hood.

Before

image

After

No exceptions...

image

@lahma lahma merged commit caef3ba into RicoSuter:master May 1, 2025
2 checks passed
@lahma lahma deleted the guard-against-boolean-required branch May 1, 2025 06:44
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.

1 participant