smallrye make foreach conditiont Multi quarkus #23136
hamedKey999
started this conversation in
Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to make a category tree, here is the category structure
class category{
private String id;
private String parentId;
private List children;
}
children at the beginning is empty, parentId if null is a parent otherwise it is children. I want to return this result:
[
{
"id": "61eb379e6d797574df47cfc3",
}
]
I did with classic programming I want to migrate to reactive programming with mutiny smallrye here is my code:
@Blocking
public Uni<List> getAllCategories(Request doc) {
log.info("REST request to find Categories : {}", doc);
Map<String, Object> parent = new HashMap<>();
}
i want to delete @Blocking
Beta Was this translation helpful? Give feedback.
All reactions