Skip to content

Set additionnalProperties to False if unknown is not set / support setting unknown at schema instantiation#988

Merged
lafrech merged 3 commits intodevfrom
unknown_default_raise
Sep 7, 2025
Merged

Set additionnalProperties to False if unknown is not set / support setting unknown at schema instantiation#988
lafrech merged 3 commits intodevfrom
unknown_default_raise

Conversation

@lafrech
Copy link
Copy Markdown
Member

@lafrech lafrech commented Sep 3, 2025

This could be wrong if unknown is set as load parameter, but I don't think we can address this.

@lafrech lafrech requested a review from sloria September 3, 2025 19:27
Copy link
Copy Markdown
Member

@sloria sloria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@lafrech lafrech merged commit 81089dd into dev Sep 7, 2025
10 checks passed
@lafrech lafrech deleted the unknown_default_raise branch September 7, 2025 13: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.

additionalProperties=false is not set when using default Marshmallow schema options

2 participants