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
I'm currently having issues with testing out queries in integration tests using the codgen.
I can't figure out why there is no getTemporaryUploadUrlProjection class generated. For every other type there is a <TYPENAME>Projectiongenerated. I can't figure out what is the reason for the Projection class not being generated and would be grateful for some guidance.
These are the following classes which got generated:
I get the following error null cannot be cast to non-null type com.netflix.graphql.dgs.client.codegen.BaseProjectionNode
Which can be traced back into the serialize method of com.netflix.graphql.dgs.client.codegen.GraphQLQueryRequest which does a check and fails on the error message if root is null. Root is null for all ProjectionRoot classes.
Decompiled kotlin to java
if (this.projectioninstanceofBaseSubProjectionNode) {
ProjectionSerializervar10001 = this.projectionSerializer;
Objectvar9 = ((BaseSubProjectionNode)this.projection).root();
if (var9 == null) {
thrownewNullPointerException("null cannot be cast to non-null type com.netflix.graphql.dgs.client.codegen.BaseProjectionNode");
}
I'm currently having issues with testing out queries in integration tests using the codgen.
I can't figure out why there is no
getTemporaryUploadUrlProjection
class generated. For every othertype
there is a<TYPENAME>Projection
generated. I can't figure out what is the reason for theProjection
class not being generated and would be grateful for some guidance.These are the following classes which got generated:
However when I try the following code:
I get the following error
null cannot be cast to non-null type com.netflix.graphql.dgs.client.codegen.BaseProjectionNode
Which can be traced back into the
serialize
method ofcom.netflix.graphql.dgs.client.codegen.GraphQLQueryRequest
which does a check and fails on the error message if root is null. Root is null for all ProjectionRoot classes.Decompiled kotlin to java
The ProjectionRoot class signature
Relevant Schema
My pom.xml (running coretto java 21)
The text was updated successfully, but these errors were encountered: