Skip to content

Support returning Flux of entities from @EntityMapping methods #991

Closed
@rstoyanchev

Description

@rstoyanchev

@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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions