Skip to content

Comments

Fix schema null default example serialization#40

Draft
GErP83 wants to merge 5 commits intomainfrom
fix/schema-null-default-example-serialization
Draft

Fix schema null default example serialization#40
GErP83 wants to merge 5 commits intomainfrom
fix/schema-null-default-example-serialization

Conversation

@GErP83
Copy link
Contributor

@GErP83 GErP83 commented Feb 20, 2026

Fixes scalar schema serialization, when defaultValue or example is not set, it now omits those fields instead of encoding default: null / example: null, which can break validation for non-nullable schemas

@GErP83 GErP83 marked this pull request as draft February 20, 2026 18:42
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