We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running following mutation from https://frontendmasters.com/courses/client-graphql-react/querying-mutations-demo/ results in following error Error: GraphQL error: Int cannot represent non 32-bit signed integer value: 1672250526945
It looks like graphql server implementation is using Int type instead of Date https://stackoverflow.com/questions/44982279/graphql-large-integer-error-int-cannot-represent-non-32-bit-signed-integer-valu
The text was updated successfully, but these errors were encountered:
For a hacky fix so I can proceed for now I updated following line in pet.js, but I'm sure we can use a better format for dates
const newPet = {id: nanoid(), createdAt: Math.round(Date.now() / 10000), ...pet}
⚠️ use at your own risk ;) ⚠️
Sorry, something went wrong.
No branches or pull requests
Running following mutation from https://frontendmasters.com/courses/client-graphql-react/querying-mutations-demo/
![image](https://user-images.githubusercontent.com/911388/209854643-b6c4c22f-ac34-425f-bb10-3bb5e182cd2e.png)
![image](https://user-images.githubusercontent.com/911388/209854691-d5d7bccd-b221-4354-b114-a3dd402a241e.png)
results in following error Error: GraphQL error: Int cannot represent non 32-bit signed integer value: 1672250526945
It looks like graphql server implementation is using Int type instead of Date https://stackoverflow.com/questions/44982279/graphql-large-integer-error-int-cannot-represent-non-32-bit-signed-integer-valu
The text was updated successfully, but these errors were encountered: