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

add Boolean type #190

Merged
merged 2 commits into from
Aug 25, 2020
Merged

add Boolean type #190

merged 2 commits into from
Aug 25, 2020

Conversation

tabboud
Copy link
Contributor

@tabboud tabboud commented Aug 25, 2020

This Boolean type is required in order to correctly serialize/de-serialize map keys that contain bools in accordance with the conjure spec.

There is unfortunately no easy way to preserve using the primitive bool as part of generated code in conjure so we're forced to create a new type that can be used for map keys specifically which will handle correctly serializing to/from strings.


This change is Reviewable

@tabboud tabboud merged commit d0eff66 into palantir:master Aug 25, 2020
@tabboud tabboud deleted the ta/boolean branch August 25, 2020 18:32
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