Description
I am interfacing with the graphQL API of monday.com. Their item IDs have recently passed 2^31 and when I request such an item gql trows an error:
Int cannot represent non 32-bit signed integer value: 2300634791
GraphQL request:2:18
1 | {
2 | boards (ids: 2300634791) {
| ^
3 | items(limit:1000){
monday.com have a handy API tester where I can input my query directly, and the response comes back without issue, thus leading me to believe the issue is with gql. Now, I know of this issue in the graphQL spec: graphql/graphql-spec#73, but I am not sure it is relevant here.
To Reproduce
Steps to reproduce the behavior:
To interface with monday.com you need API authorization so I'm not sure I can provide this. But I assume trying to query a graphQL Int larger than 2^31 will reproduce this error.
Expected behavior
Since the monday.com API playground gives normal results I would expect the same result from gql.
System info:
- OS: Windows 10
- Python version: 3.9.9
- gql version: 3.0.0
- graphql-core version: 3.2.0
Thanks in advance for any help