graphql-go / graphql-go/graphql
IntValue and FloatValue Value field is a string
Open
- Dominant language
- Go
- Stars
- 10.1k
- Forks
- 845
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
When we specify scalars in our application that have FloatValues or IntValues they're being converted to strings in the resulting JSON. Why are FloatValue and IntValue given string Values?
Is there a way to get the desired behaviour? i.e. if I put in an argument of [1.2, 3.5] I should get that in the framework, not ["1.2", "3.5"].
Sorry for brevity, in a rush!
Contributor guide
Assessment
This issue has not been assessed yet.