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 support for Duration fields with default values #1172

Merged
merged 1 commit into from Jul 8, 2022

Conversation

kevmoo
Copy link
Collaborator

@kevmoo kevmoo commented Jul 8, 2022

Fixes #1170

.toString();
final output = '$_parse($parseParam)';

return nullable ? ifNullOrElse(expression, 'null', output) : output;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the only use of commonNullPrefix – just inlined it here!

@natebosch
Copy link
Member

The commit message should say what was broken and how this fixes it. Can you edit the first comment with this info?

@kevmoo kevmoo merged commit f50eb99 into master Jul 8, 2022
@kevmoo kevmoo deleted the i1170_default_duration branch July 8, 2022 21:44
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.

Code generation for complex types with default value produces warning
2 participants