perplexhub / rsql-jpa-specification

Java Library to Translate RSQL into Spring Data JPA Specification and QueryDSL Predicate
MIT License
233 stars 63 forks source link

How to use or register Custom Operator & Predicate in RSQLQueryDslSupport.toPredicate #143

Closed MichaelKoch11 closed 10 months ago

MichaelKoch11 commented 10 months ago

Only a question or if it does not work, something to add.

I am using this method to parse my query. RSQLQueryDslSupport.toPredicate(query, getQClazz());

and then to get my data getRepository().findAll(spec, pageable);

I this case, how can I register an custom RSQLCustomPredicate or a customOperator

MichaelKoch11 commented 10 months ago

Found the same issue https://github.com/perplexhub/rsql-jpa-specification/issues/98