Closed fladdimir closed 2 months ago
possible solution: https://github.com/Cosium/spring-data-jpa-entity-graph/pull/202
as part of that (breaking) change, the spring-data-jpa-entity-graph interface-hierarchy could be updated to again mirror the changed interface-hierarchy of spring-data-jpa ?
old spring-data-jpa interface-hierarchy:
current spring-data-jpa interface-hierarchy:
current spring-data-jpa-entity-graph interface-hierarchy:
proposed future spring-data-jpa-entity-graph interface-hierarchy:
First of all, thanks a lot for your great work on this awesome project.
Just a minor issue: standard
find[...]
methods of theEntityGraphJpaRepository
do returnIterable
results, different to their (more convenient) non-entity-graph-counterparts of theJpaRepository
which now returnList
instead.Spring-Data started to offer
List
return-types some time ago with theirList[...]Repository
interfaces, e.g.ListCrudRepository
( https://spring.io/blog/2022/02/22/announcing-listcrudrepository-friends-for-spring-data-3-0 ).What steps will reproduce the problem ?
https://github.com/fladdimir/spring-data-jpa-entity-graph/blob/09c44d46126264f6aa951fa13f988e630ade0259/core/src/test/java/com/cosium/spring/data/jpa/entity/graph/repository/EntityGraphJpaRepositoryTest.java#L345
What is the expected output ?
It could be more convenient if standard
EntityGraphRepository
methods would returnList
instead ofIterable
?