Using graphql-java-codegen with graphql-java/java-dataloader #792
-
Hi, I am attempting to use the dataloader pattern(https://github.com/graphql-java/java-dataloader) in our graphql api.
Is there any way that you would recommend to generate the resolvers that is suitable for this use-case ? Ideally, the interface should be generated like
Any advice on using graphql-java-tools , graphql-java-codegen along with java-dataloader would be appreciated as there doesn't seem to be a standard pattern for this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@ddskolla please consider using <apiReturnType>java.util.concurrent.CompletableFuture</apiReturnType> or apiReturnType = "java.util.concurrent.CompletableFuture" |
Beta Was this translation helpful? Give feedback.
@ddskolla please consider using
apiReturnType
:or