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

Parse unions without a "type" field #64

Closed
wants to merge 3 commits into from
Closed

Conversation

sfackler
Copy link
Member

@sfackler sfackler requested a review from bavardage August 30, 2019 13:18
@palantir palantir deleted a comment from changelog-app bot Aug 30, 2019
@@ -128,6 +128,16 @@ fn unions() {
test_ser(&unknown_value, unknown_json);
}

#[test]
fn typeless_unions() {

Choose a reason for hiding this comment

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

worth testing the case of deserializing empty optional? (one of the edge cases described in palantir/conjure#111)

@bavardage
Copy link

lgtm, but I guess hold off on merging until palantir/conjure#111 has been resolved definitively

@stale
Copy link

stale bot commented Sep 23, 2019

This PR has been automatically marked as stale because it has not been touched in the last 14 days. If you'd like to keep it open, please leave a comment or add the 'long-lived' label, otherwise it'll be closed in 7 days.

@stale stale bot added the stale label Sep 23, 2019
@sfackler sfackler added long-lived and removed stale labels Sep 24, 2019
@sfackler sfackler closed this Mar 17, 2022
@sfackler sfackler deleted the no-union-type branch January 20, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants