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

Fix converting GrpaphQL Float values to Kotlin #5511

Merged
merged 2 commits into from Jan 9, 2024
Merged

Conversation

martinbonnin
Copy link
Contributor

When storing GraphQL values in Kotlin (used for defaultValues) we we using the wrong conversion. I don't think this has a strong impact as Int would be coerced to Double later on and if it couldn't be an Int, it would fallback to JsonNumber anyways. But it's more idiomatic this way.

@martinbonnin martinbonnin requested a review from BoD as a code owner January 8, 2024 10:06
Copy link

netlify bot commented Jan 8, 2024

Deploy Preview for apollo-android-docs canceled.

Name Link
🔨 Latest commit e470cdc
🔍 Latest deploy log https://app.netlify.com/sites/apollo-android-docs/deploys/659c941b3f03270008467721

Copy link
Contributor

@BoD BoD left a comment

Choose a reason for hiding this comment

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

👍

@martinbonnin martinbonnin merged commit da59d6d into main Jan 9, 2024
9 checks passed
@martinbonnin martinbonnin deleted the fix-double-values branch January 9, 2024 08:58
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.

None yet

2 participants