Open krisraich opened 1 year ago
Can you please provide a reproducer ?
Yes of course.
After further investigation, it appears that the "@Mutation" annotation is the cause of the error.
The code works fine with either @Accessors(chain = true)
or @Mutation("create")
but not with both
package test;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
@Setter
@Getter
@Accessors(chain = true)
public class ReproducerEntity {
private String foo;
}
package test;
import org.eclipse.microprofile.graphql.GraphQLApi;
import org.eclipse.microprofile.graphql.Mutation;
@GraphQLApi
public class ReproducerApi {
@Mutation("create")
public ReproducerEntity create(ReproducerEntity values) {
return null;
}
}
When using GraphQL with Entities that implement chained accessors, e.g.:
the following error is thrown:
Same error also occurs when the Lombok annotation
@Accessors(chain = true)
is present.Used with Quarkus version 2.15.3.Final and Smallrye GraphQL version 1.19.1