-
Bug
-
Resolution: Done
-
Major
-
0.13.0
-
None
-
2020 Week 31-33 (from Jul 27)
Error: "Exception while fetching data (/Travels) : class graphql.language.VariableReference cannot be cast to class graphql.language.ObjectValue (graphql.language.VariableReference and graphql.language.ObjectValue are in unnamed module of loader 'app')"
query ($pag: Pagination, $orderBy: TravelsOrderBy) { Travels(pagination: $pag, orderBy: $orderBy ) { id } }
java.lang.ClassCastException: class graphql.language.VariableReference cannot be cast to class graphql.language.ObjectValue (graphql.language.VariableReference and graphql.language.ObjectValue are in unnamed module of loader 'app')
at org.kie.kogito.index.graphql.query.GraphQLQueryOrderByParser.apply(GraphQLQueryOrderByParser.java:46)
at org.kie.kogito.index.graphql.GraphQLSchemaManager.executeAdvancedQueryForCache(GraphQLSchemaManager.java:221)
at org.kie.kogito.index.graphql.GraphQLSchemaManager.lambda$getDomainModelDataFetcher$18(GraphQLSchemaManager.java:301)