Replies: 2 comments 1 reply
-
\CC @jponge |
Beta Was this translation helpful? Give feedback.
0 replies
-
You might check https://smallrye.io/smallrye-mutiny/latest/guides/branching/ to combine some branching logic + async I/O in a pipeline. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
I need some help with reactive Quarkus with Panache. I have a method that lists all items in a table from the database and returns Uni. Each Form item contains a list of equipmentCollection (List). I would like to iterate over all the equipmentCollection items, and if equipment.type == "output", I want to call the getQuantity() method, which retrieves a value from another table in the database and updates equipment.quantity to the value returned by getQuantity().
Something like (I know my code is not ok. I am stuck and dont know how to handle it the right way)
`
> listAll(Integer page, Integer size) {public Uni<List
}
`
Beta Was this translation helpful? Give feedback.
All reactions