Skip to content

Scalar validation: remove redundant infinity handling #5358

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
May 22, 2025

Conversation

swalkinshaw
Copy link
Collaborator

GraphQL::Language.serialize already has its own special handling for Float::INFINITY. It serializes it as "Infinity" which is inconsistent with this empty string as well.

`GraphQL::Language.serialize` already has its own special handling for
`Float::INFINITY`. It serializes it as "Infinity" which is inconsistent
with this empty string as well.
@rmosolgo rmosolgo added this to the 2.5.8 milestone May 22, 2025
@rmosolgo
Copy link
Owner

Thanks for this cleanup!

@rmosolgo rmosolgo merged commit f2bd902 into master May 22, 2025
15 checks passed
@rmosolgo rmosolgo deleted the scalar-validation-remove-infinity-handling branch May 22, 2025 16:10
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