graphql-java-tools icon indicating copy to clipboard operation
graphql-java-tools copied to clipboard

ClassCastException: java.math.BigInteger cannot be cast to java.lang.Integer when using Relay/SimpleListConnection

Open mxmlnglt opened this issue 5 years ago • 2 comments

A while ago, I opened an issue on https://github.com/graphql-java/graphql-java/issues/1680 about a ClassCastException occuring while using a default value in the context of Relay/SimpleListConnection.

By browsing the stacktrace, it seemed to me it was due to graphql-java, but the maintainer says it's not; seems like graphql-java-tools is sending the wrong type of value (a BigInteger instead of an Integer).

Can you have a look please?

mxmlnglt avatar Jan 15 '20 08:01 mxmlnglt

I am experiencing the same issue. I think it is the same as issue #344

roblovelock avatar Feb 11 '20 14:02 roblovelock

Exactly... I think I'm not keen enough on GraphQL to have been able to find it in the first place... Thanks for linking the issues.

mxmlnglt avatar Feb 11 '20 20:02 mxmlnglt

Seems to be a duplicate of https://github.com/graphql-java-kickstart/graphql-java-tools/issues/344

oryan-block avatar Jan 31 '24 21:01 oryan-block