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 bug in handling of Union default value #1534

Merged
merged 3 commits into from
Sep 20, 2021
Merged

Conversation

mdickinson
Copy link
Member

The logic introduced in #1522 for handing dynamic defaults in Union traits was buggy. This PR fixes that logic and improves the test.

Closes #1533 .

Checklist

  • Tests

Copy link
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

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

LGTM

@mdickinson mdickinson merged commit df89def into main Sep 20, 2021
@mdickinson mdickinson deleted the fix/union-default-bug branch September 20, 2021 11:45
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.

Bad default value handling for Union
2 participants