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

fix: validation of nullable fields with a non-null default value #1181

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

julienc91
Copy link
Contributor

Fixes #1179: a nullable field with a non-null default value would not allow None as a valid value.

@vitalik vitalik merged commit 2a13704 into vitalik:master Jun 27, 2024
27 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
Development

Successfully merging this pull request may close these issues.

[BUG] Pydantic doesn't allow null=True on BooleanFields when using ModelSchema.
2 participants