Skip to content

Remove unnecessary @JsonUnwrapped constructor annotation#26

Merged
iamdanfox merged 1 commit into
developfrom
union-tidying
Jul 3, 2018
Merged

Remove unnecessary @JsonUnwrapped constructor annotation#26
iamdanfox merged 1 commit into
developfrom
union-tidying

Conversation

@iamdanfox
Copy link
Copy Markdown
Contributor

Follow-up to #22

@JsonUnwrapped private final Union union;

@JsonCreator
private UnionTypeExample(@JsonUnwrapped Union union) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

WireFormatTests#testUnionType proves this is unnecessary

@iamdanfox iamdanfox merged commit 5243f5e into develop Jul 3, 2018
@iamdanfox iamdanfox deleted the union-tidying branch July 5, 2018 19:36
carterkozak pushed a commit to carterkozak/conjure-java that referenced this pull request Dec 24, 2018
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