|
38 | 38 | import org.springframework.data.repository.query.FluentQuery;
|
39 | 39 | import org.springframework.data.repository.query.QueryByExampleExecutor;
|
40 | 40 | import org.springframework.data.repository.query.ReactiveQueryByExampleExecutor;
|
41 |
| -import org.springframework.data.util.ClassTypeInformation; |
42 | 41 | import org.springframework.data.util.TypeInformation;
|
43 | 42 | import org.springframework.graphql.data.GraphQlArgumentBinder;
|
44 | 43 | import org.springframework.graphql.data.GraphQlRepository;
|
@@ -246,18 +245,18 @@ public static class Builder<T, R> {
|
246 | 245 |
|
247 | 246 | private final QueryByExampleExecutor<T> executor;
|
248 | 247 |
|
249 |
| - private final ClassTypeInformation<T> domainType; |
| 248 | + private final TypeInformation<T> domainType; |
250 | 249 |
|
251 | 250 | private final Class<R> resultType;
|
252 | 251 |
|
253 | 252 | private final Sort sort;
|
254 | 253 |
|
255 | 254 | @SuppressWarnings("unchecked")
|
256 | 255 | Builder(QueryByExampleExecutor<T> executor, Class<R> domainType) {
|
257 |
| - this(executor, ClassTypeInformation.from((Class<T>) domainType), domainType, Sort.unsorted()); |
| 256 | + this(executor, TypeInformation.of((Class<T>) domainType), domainType, Sort.unsorted()); |
258 | 257 | }
|
259 | 258 |
|
260 |
| - Builder(QueryByExampleExecutor<T> executor, ClassTypeInformation<T> domainType, Class<R> resultType, Sort sort) { |
| 259 | + Builder(QueryByExampleExecutor<T> executor, TypeInformation<T> domainType, Class<R> resultType, Sort sort) { |
261 | 260 | this.executor = executor;
|
262 | 261 | this.domainType = domainType;
|
263 | 262 | this.resultType = resultType;
|
@@ -326,7 +325,7 @@ public static class ReactiveBuilder<T, R> {
|
326 | 325 |
|
327 | 326 | @SuppressWarnings("unchecked")
|
328 | 327 | ReactiveBuilder(ReactiveQueryByExampleExecutor<T> executor, Class<R> domainType) {
|
329 |
| - this(executor, ClassTypeInformation.from((Class<T>) domainType), domainType, Sort.unsorted()); |
| 328 | + this(executor, TypeInformation.of((Class<T>) domainType), domainType, Sort.unsorted()); |
330 | 329 | }
|
331 | 330 |
|
332 | 331 | ReactiveBuilder(
|
|
0 commit comments