Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support returning Flux of entities from @EntityMapping methods #991

Closed
rstoyanchev opened this issue Jun 7, 2024 · 0 comments
Closed

Support returning Flux of entities from @EntityMapping methods #991

rstoyanchev opened this issue Jun 7, 2024 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@rstoyanchev
Copy link
Contributor

@EntityMapping methods can load entities of a given type in batch mode by returning List<T>, Mono<List<T>>, CompletableFuture<List<T>>, and others. We can also support Flux<T>, and adapt via Flux#collectList.

Based on #922 (comment) by @gianielsevier.

@rstoyanchev rstoyanchev added the type: enhancement A general enhancement label Jun 7, 2024
@rstoyanchev rstoyanchev added this to the 1.3.1 milestone Jun 7, 2024
@rstoyanchev rstoyanchev changed the title Support returning Flux of entities from from @EntityMapping methods Support returning Flux of entities from @EntityMapping methods Jun 7, 2024
@rstoyanchev rstoyanchev self-assigned this Jun 7, 2024
rstoyanchev added a commit that referenced this issue Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant