Add missing reflection hints.
Allow Kotlin to resolve everything it needs. Closes #2717 Original pull request: #2720
This commit is contained in:
committed by
Mark Paluch
parent
39e79a144e
commit
c2293efb02
@@ -30,6 +30,9 @@ import org.springframework.data.repository.core.support.RepositoryFactoryBeanSup
|
||||
import org.springframework.data.repository.core.support.RepositoryFragment;
|
||||
import org.springframework.data.repository.core.support.RepositoryFragmentsFactoryBean;
|
||||
import org.springframework.data.repository.core.support.TransactionalRepositoryFactoryBeanSupport;
|
||||
import org.springframework.data.repository.query.FluentQuery;
|
||||
import org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery;
|
||||
import org.springframework.data.repository.query.FluentQuery.ReactiveFluentQuery;
|
||||
import org.springframework.data.repository.query.QueryByExampleExecutor;
|
||||
import org.springframework.lang.Nullable;
|
||||
|
||||
@@ -53,7 +56,10 @@ class RepositoryRuntimeHints implements RuntimeHintsRegistrar {
|
||||
TypeReference.of(TransactionalRepositoryFactoryBeanSupport.class), //
|
||||
TypeReference.of(QueryByExampleExecutor.class), //
|
||||
TypeReference.of(MappingContext.class), //
|
||||
TypeReference.of(RepositoryMetadata.class) //
|
||||
TypeReference.of(RepositoryMetadata.class), //
|
||||
TypeReference.of(FluentQuery.class), //
|
||||
TypeReference.of(FetchableFluentQuery.class), //
|
||||
TypeReference.of(ReactiveFluentQuery.class) //
|
||||
), builder -> {
|
||||
builder.withMembers(MemberCategory.INVOKE_PUBLIC_METHODS);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user