Skip to content

[generator] defer nullable/falsable handling#630

Merged
shish merged 1 commit into
masterfrom
pr630
Feb 17, 2025
Merged

[generator] defer nullable/falsable handling#630
shish merged 1 commit into
masterfrom
pr630

Conversation

@shish

@shish shish commented Feb 17, 2025

Copy link
Copy Markdown
Collaborator

Rather than "always strip false/null from return types, and then add them back when the function is non-nullsy / non-falsy", we can reduce complexity by "leave return types alone, strip them only when needed"

This results in no chanes to generated files, but makes future development simpler

Rather than "always strip false/null from return types, and then add them back when the function is non-nullsy / non-falsy", we can reduce complexity by "leave return types alone, strip them only when needed"

This results in no chanes to generated files, but makes future development simpler
@shish shish merged commit 288a30a into master Feb 17, 2025
@shish shish deleted the pr630 branch February 17, 2025 20:53
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