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

double type has incorrect PLAIN representation for infinity values #72

Open
nmiyake opened this issue Jul 16, 2019 · 0 comments
Open

double type has incorrect PLAIN representation for infinity values #72

nmiyake opened this issue Jul 16, 2019 · 0 comments

Comments

@nmiyake
Copy link
Contributor

nmiyake commented Jul 16, 2019

What happened?

  • Create a Conjure definition that sends a double value using PLAIN serialization (for example, specify an endpoint with a query parameter of type double) and send a double with the value of negative or positive infinity
  • The value is sent as +Inf or -Inf

What did you want to happen?

Per https://github.com/palantir/conjure/blob/master/docs/spec/wire.md#6-plain-format, the value should be sent as +Infinity/-Infinity

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

No branches or pull requests

1 participant