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

[generator] defer nullable/falsable handling #630

Merged
merged 1 commit into from
Feb 17, 2025
Merged

[generator] defer nullable/falsable handling #630

merged 1 commit into from
Feb 17, 2025

Conversation

shish
Copy link
Collaborator

@shish shish commented Feb 17, 2025

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
10 checks passed
@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