Missing test case for custom entity types
KyleAure opened this issue · 0 comments
KyleAure commented
It looks to me like they are cheating and relying on @Repository(provider =
to be assigned the Directory
repository,
@Repository(provider = Directory.PERSON_PROVIDER)
public interface Directory extends DataRepository<Person, Long> {
That means the coverage here isn't as good as it should be. We should leave this in place because it's also a valid scenario and create a second repository for Person
that omits provider = ...
and instead relies on the type of Entity annotation.
Originally posted by @njr-11 in #647 (comment)