Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Graphql infer types gets broken with a mix of float and int #5486
As per danoc/gatsby-source-strava-activities#1 I was having isssues with graphql when the results were mixed int and float.
Steps to reproduce
You can use strava-activities and have some activities that have a max speed of a whole number.
I also tracked it down and was able to make a test case
Graphql figures out the node field should be a float
If the first result is an int, gatsby infers that its an int, not a float
File contents (if changed)
Not applicable so not filling out, but i can