graphql

2019-06-05T18:05:23.000400Z

Hey guys, i'm having some problem with lacinia

2019-06-05T18:05:26.000600Z

Unable to serialize 5085398338371584 as type `ID'

2019-06-05T18:05:39.001Z

why I can't serialize this?

2019-06-05T18:22:46.001300Z

Is it a string?

gklijs 2019-06-05T18:53:34.001500Z

Probably because it's an Int, so either change the schema to be an Int instead of ID, or make sure the ID is a string. This used to work before the last update.

souenzzo 2019-06-05T19:28:40.003100Z

5085398338371584 is close to Number.MAX_SAFE_INTEGER // => 9007199254740991 in modern chrome Use strings for ID 's will avoid issues in frontend/browser @d.ian.b

❤️ 2
1
2019-06-05T19:29:16.003300Z

yeah, it used to work

2019-06-05T19:29:17.003500Z

=<