Skip to content

Don't require discriminant field to be present in object variants #43

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

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

SolitudeSF
Copy link
Contributor

Assuming default branch is fine.

@SolitudeSF SolitudeSF closed this Jan 9, 2022
@SolitudeSF SolitudeSF reopened this Jan 9, 2022
@treeform
Copy link
Owner

treeform commented Jan 9, 2022

If there is no descriminant field it just goes with default field?

Could you add tests for this?

@SolitudeSF
Copy link
Contributor Author

should be fine now?

@treeform
Copy link
Owner

That looks great. Thanks! Good PR. Mergning.

@treeform treeform merged commit efa5977 into treeform:master Jan 10, 2022
@SolitudeSF SolitudeSF deleted the discriminant branch January 10, 2022 17:58
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.

2 participants