How I get the association in following example [Panache - Reactive - Kotlin] #24859
Unanswered
oberstrike
asked this question in
Q&A
Replies: 2 comments
-
/cc @FroMage, @evanchooly, @loicmathieu |
Beta Was this translation helpful? Give feedback.
0 replies
-
Usually, in fonctionnal programming when you have a List of things and want a thing of list you need to call flatMap, for Mutiny this is the same. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello folks,
I dont't know if this is the right channel to ask, but I have a question about Panache-Reactive-Kotlin. Maybe my question is very basic, but I just started to practice a little bit with panache reactive and mutiny/uni. I created a little demonstration project with following relations:
and
I try to list all FolderEntities, convert them to a DTO with the IDs of the refered DataFiles.
My first try is this:
Now I got the problem that the variable "data" has the type of Uni<List<Uni>>
but I want Uni<List>.
Can someone help me? Perhaps a reference to a thread or similar is enough.
kind regards
oberstrike
Beta Was this translation helpful? Give feedback.
All reactions