Mapped dataloader, how to expose the correct value? #1029
-
We are using data loaders extensively, and for the regular data loaders it works great with graphql-kotlin. We return a However, we need to use the mapped data loader ( Is there any examples of doing this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I think I might have done something wrong in the load function, but there is something I do not understand. If we have a simple return value, such as
|
Beta Was this translation helpful? Give feedback.
I think I might have done something wrong in the load function, but there is something I do not understand. If we have a simple return value, such as
CompletableFuture<MyValue>
it works. However, if I need a list of values (CompletableFuture<List<MyValue>>
it gives this error: