Skip to content

feat: Implement optional none case for model fields (#65)#73

Merged
hakancelikdev merged 1 commit intomainfrom
feature/implement-optional-none
Feb 19, 2026
Merged

feat: Implement optional none case for model fields (#65)#73
hakancelikdev merged 1 commit intomainfrom
feature/implement-optional-none

Conversation

@hakancelikdev
Copy link
Copy Markdown
Owner

Support Optional[T] and T | None type annotations for model fields. Optional fields default to None, accept both the inner type and None, and correctly serialize/deserialize None values through the database layer.

Support Optional[T] and T | None type annotations for model fields.
Optional fields default to None, accept both the inner type and None,
and correctly serialize/deserialize None values through the database layer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hakancelikdev hakancelikdev merged commit 8ea5f42 into main Feb 19, 2026
14 checks passed
@hakancelikdev hakancelikdev deleted the feature/implement-optional-none branch February 19, 2026 03:13
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