GraphQL large integer error: Int cannot represent non 32-bit signed integer value

GraphQL doesn’t support integers larger than 32 bits as the error indicates. You’re better off using a custom scalar like GraphQL Date. There’s also a “Long” type available here. Or you could roll your own custom type; there’s a great example from Apollo here.

If you’re curious why GraphQL does not support anything bigger, you can check out this issue on Github.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)