Skip to content

Commit

Permalink
fix(): fix spring data
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrouillet committed Aug 1, 2024
1 parent f736bc9 commit d61e7d6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package fr.icdc.ebad.config.apidoc;

import com.querydsl.core.types.Predicate;
import org.springdoc.core.SpringDocConfigProperties;
import org.springdoc.core.customizers.DataRestDelegatingMethodParameterCustomizer;
import org.springdoc.core.customizers.DelegatingMethodParameterCustomizer;
import org.springdoc.core.providers.RepositoryRestConfigurationProvider;
Expand Down Expand Up @@ -62,7 +63,7 @@ class QuerydslProvider {
QuerydslPredicateOperationCustomizer queryDslQuerydslPredicateOperationCustomizer(Optional<QuerydslBindingsFactory> querydslBindingsFactory) {
if (querydslBindingsFactory.isPresent()) {
getConfig().addRequestWrapperToIgnore(Predicate.class);
return new QuerydslPredicateOperationCustomizer(querydslBindingsFactory.get());
return new QuerydslPredicateOperationCustomizer(querydslBindingsFactory.get(), new SpringDocConfigProperties());
}
return null;
}
Expand Down

0 comments on commit d61e7d6

Please sign in to comment.