Skip to content

Failure with union with single value.#44

Closed
jkozlowski wants to merge 1 commit into
palantir:developfrom
jkozlowski:union-fail
Closed

Failure with union with single value.#44
jkozlowski wants to merge 1 commit into
palantir:developfrom
jkozlowski:union-fail

Conversation

@jkozlowski
Copy link
Copy Markdown
Contributor

@jkozlowski jkozlowski commented Jul 18, 2018

I don't know the fix, but I thought I'd provide the failure case:

The code in this PR seems to fail to generate correct objects, @dansanduleac could someone have a look?

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.

This is where it fails

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems like we're just not generating a correct builder method for unknown properties

@ferozco ferozco mentioned this pull request Jul 18, 2018
ferozco added a commit that referenced this pull request Jul 18, 2018
Revert #22. Since it was originally just an experiment and it caused #44, I hope its ok. I am keen to open up the discussion on how implement unions, especially if we have some numbers around the performance of one approach vs. another
@jkozlowski
Copy link
Copy Markdown
Contributor Author

Looks like the fix was merged?

@jkozlowski jkozlowski closed this Jul 18, 2018
@jkozlowski jkozlowski deleted the union-fail branch July 18, 2018 17:24
carterkozak pushed a commit to carterkozak/conjure-java that referenced this pull request Dec 24, 2018
* wrapper

* baseline

* fixes
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