There's no other issue that already describes my problem.
Describe the Bug
In graphQL api impossible make query/mutate with BigInt values. Error will be like this: message: 'Int cannot represent non 32-bit signed integer value: "201381908480"'.
I think it bug, because on DB side we can do bigInt data and it,s normal, on REST api endpoint also we can work with BigInt data - it,s normal , but no with GraphQL
Fix for this - it is implement custom BigInt Scalar for BigInt data, or replace all default INT scalar with new BigInt
To Reproduce
Query/mutate by graphql API logn number to Int field
Errors Shown
Int cannot represent non 32-bit signed integer value: "****************"
What version of Directus are you using?
9.6.0
What version of Node.js are you using?
v16.13.0
What database are you using?
Postgres 13
What browser are you using?
Firefox
What operating system are you using?
Linux
How are you deploying Directus?
Docker
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Describe the Bug
In graphQL api impossible make query/mutate with BigInt values. Error will be like this:
message: 'Int cannot represent non 32-bit signed integer value: "201381908480"'.I think it bug, because on DB side we can do bigInt data and it,s normal, on REST api endpoint also we can work with BigInt data - it,s normal , but no with GraphQL
Fix for this - it is implement custom BigInt Scalar for BigInt data, or replace all default INT scalar with new BigInt
To Reproduce
Query/mutate by graphql API logn number to Int field
Errors Shown
Int cannot represent non 32-bit signed integer value: "****************"
What version of Directus are you using?
9.6.0
What version of Node.js are you using?
v16.13.0
What database are you using?
Postgres 13
What browser are you using?
Firefox
What operating system are you using?
Linux
How are you deploying Directus?
Docker
The text was updated successfully, but these errors were encountered: