Skip to content

Mapped dataloader, how to expose the correct value? #1029

Answered by jarlehansen
jarlehansen asked this question in Q&A
Discussion options

You must be logged in to vote

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:

type mismatch error, expected type LIST got class java.util.concurrent.CompletableFuture

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@smyrick
Comment options

@smyrick
Comment options

@smyrick
Comment options

@jarlehansen
Comment options

@smyrick
Comment options

Answer selected by jarlehansen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants