You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team,
I created a GraphQLQueryRequest. Added values for required and trying to execute below as part of Junits.
Please note that there is a UUID property in my input object. However I am getting below error when running test cases at serialize method of InputValueSerializer
When I have other properties like int, strings etc I get no issues.
I am using : graphql-dgs-client:4.1.0 jar
there were no issues when i used graphql-dgs-client:3.10.2 jar.
MyInput myInput =
new MyInput.Builder().someUUID(UUID.randomUUID()).build();
GraphQLQueryRequest request =
new GraphQLQueryRequest(
new MyInputGraphQLQuery.Builder().myInput(myInput).build());
ExecutionResult response = dgsQueryExecutor.execute(request.serialize());
kotlin.reflect.jvm.internal.KotlinReflectionInternalError: Unresolved class: class java.lang.System$2
at kotlin.reflect.jvm.internal.KClassImpl.reportUnresolvedClass(KClassImpl.kt:319)
at kotlin.reflect.jvm.internal.KClassImpl.access$reportUnresolvedClass(KClassImpl.kt:43)
at kotlin.reflect.jvm.internal.KClassImpl$Data$descriptor$2.invoke(KClassImpl.kt:53)
at kotlin.reflect.jvm.internal.KClassImpl$Data$descriptor$2.invoke(KClassImpl.kt:44)
at kotlin.reflect.jvm.internal.ReflectProperties$LazySoftVal.invoke(ReflectProperties.java:92)
at kotlin.reflect.jvm.internal.ReflectProperties$Val.getValue(ReflectProperties.java:31)
at kotlin.reflect.jvm.internal.KClassImpl$Data.getDescriptor(KClassImpl.kt)
at kotlin.reflect.jvm.internal.KClassImpl.getDescriptor(KClassImpl.kt:179)
at kotlin.reflect.jvm.internal.KClassImpl.isCompanion(KClassImpl.kt:280)
at com.netflix.graphql.dgs.client.codegen.InputValueSerializer.serialize(GraphQLQueryRequest.kt:125)
at com.netflix.graphql.dgs.client.codegen.InputValueSerializer.serialize(GraphQLQueryRequest.kt:126)
at com.netflix.graphql.dgs.client.codegen.GraphQLQueryRequest.serialize(GraphQLQueryRequest.kt:51)
at
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Team,
I created a GraphQLQueryRequest. Added values for required and trying to execute below as part of Junits.
Please note that there is a UUID property in my input object. However I am getting below error when running test cases at serialize method of InputValueSerializer
When I have other properties like int, strings etc I get no issues.
I am using : graphql-dgs-client:4.1.0 jar
there were no issues when i used graphql-dgs-client:3.10.2 jar.
kotlin.reflect.jvm.internal.KotlinReflectionInternalError: Unresolved class: class java.lang.System$2
at kotlin.reflect.jvm.internal.KClassImpl.reportUnresolvedClass(KClassImpl.kt:319)
at kotlin.reflect.jvm.internal.KClassImpl.access$reportUnresolvedClass(KClassImpl.kt:43)
at kotlin.reflect.jvm.internal.KClassImpl$Data$descriptor$2.invoke(KClassImpl.kt:53)
at kotlin.reflect.jvm.internal.KClassImpl$Data$descriptor$2.invoke(KClassImpl.kt:44)
at kotlin.reflect.jvm.internal.ReflectProperties$LazySoftVal.invoke(ReflectProperties.java:92)
at kotlin.reflect.jvm.internal.ReflectProperties$Val.getValue(ReflectProperties.java:31)
at kotlin.reflect.jvm.internal.KClassImpl$Data.getDescriptor(KClassImpl.kt)
at kotlin.reflect.jvm.internal.KClassImpl.getDescriptor(KClassImpl.kt:179)
at kotlin.reflect.jvm.internal.KClassImpl.isCompanion(KClassImpl.kt:280)
at com.netflix.graphql.dgs.client.codegen.InputValueSerializer.serialize(GraphQLQueryRequest.kt:125)
at com.netflix.graphql.dgs.client.codegen.InputValueSerializer.serialize(GraphQLQueryRequest.kt:126)
at com.netflix.graphql.dgs.client.codegen.GraphQLQueryRequest.serialize(GraphQLQueryRequest.kt:51)
at
Beta Was this translation helpful? Give feedback.
All reactions