I'm using graphql-scalars in order to have BigInt type in my graphql schema. It runs but that BigInts have this format: {
"data": {
"createStage": "41"
}
} It is doublequoted so it is not an numeric type but an string. Am I doing something in bad way? Thanks
This is intended behavior. The BigInt scalar can represent integers that are larger than what JavaScript supports (9007199254740991), so the value is always serialized as a string in the response.