Skip to content

Fix incorrect validation of zero float value #547

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

Merged
merged 1 commit into from
Jan 10, 2023

Conversation

agnivade
Copy link
Contributor

Float value of 0.0 is valid. Removed the incorrect
if condition. Added a test.

Fixes #546

Float value of 0.0 is valid. Removed the incorrect
if condition. Added a test.

Fixes graph-gophers#546
@agnivade
Copy link
Contributor Author

cc @pavelnikolov

@pavelnikolov pavelnikolov merged commit edea822 into graph-gophers:master Jan 10, 2023
@agnivade agnivade deleted the fixFloatType branch January 10, 2023 18:34
KNiepok pushed a commit to spacelift-io/graphql-go that referenced this pull request Feb 28, 2023
Float value of 0.0 is valid. Removed the incorrect
if condition. Added a test.

Fixes graph-gophers#546
KNiepok pushed a commit to spacelift-io/graphql-go that referenced this pull request Feb 28, 2023
Float value of 0.0 is valid. Removed the incorrect
if condition. Added a test.

Fixes graph-gophers#546
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.

Breaking change caused due to https://github.com/graph-gophers/graphql-go/pull/515
2 participants