Skip to content

Create additional List-based repository interfaces #2535

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

Closed
schauder opened this issue Jan 24, 2022 · 0 comments
Closed

Create additional List-based repository interfaces #2535

schauder opened this issue Jan 24, 2022 · 0 comments
Assignees
Labels
in: repository Repositories abstraction type: enhancement A general enhancement

Comments

@schauder
Copy link
Contributor

ListCrudRepository
ListQuerydslPredicateExecutor
ListQueryByExampleExecutor

These interfaces should look like there existing counterparts, but return a List where the existing ones return an Iterable.

@schauder schauder self-assigned this Jan 24, 2022
@schauder schauder added in: repository Repositories abstraction type: enhancement A general enhancement labels Jan 24, 2022
@schauder schauder added this to the 3.0 M2 (2022.0.0) milestone Jan 24, 2022
schauder added a commit that referenced this issue Jan 24, 2022
schauder added a commit that referenced this issue Jan 24, 2022
This introduces the interfaces
* `ListCrudRepository`
* `ListQuerydslPredicateExecutor`
* `ListQueryByExampleExecutor`

They return `List` instead of `Iterable` when returning multiple entities.
They can be used in the same way the interfaces without the `List` prefix can be used.

Closes #2535.
@schauder schauder linked a pull request Jan 24, 2022 that will close this issue
mp911de pushed a commit that referenced this issue Feb 11, 2022
This introduces the interfaces
* `ListCrudRepository`
* `ListQuerydslPredicateExecutor`
* `ListQueryByExampleExecutor`

They return `List` instead of `Iterable` when returning multiple entities.
They can be used in the same way the interfaces without the `List` prefix can be used.

Closes #2535.
Original pull request: #2538.
@mp911de mp911de changed the title Create additional List based repository interfaces Create additional List-based repository interfaces Feb 11, 2022
@mp911de mp911de closed this as completed Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: repository Repositories abstraction type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants