Can Spring Data REST's QueryDSL integration be used to perform more complex queries? : <p>I'm currently building a REST API in which I want clients to easily filter on most properties of a specific entity. Using <a href="http://querydsl.com/" rel="noreferrer">QueryDSL</a> in combination with <a href="http://projects.spring.io/spring-data-rest/" rel="noreferrer">Spring Data REST</a> (<a href="https://gist.github.com/olivergierke/decf03d4948cd58a51bc" rel="noreferrer">an example by Oliver Gierke</a>) allows me to easily get to 90% of what I want by allowing clients to filter by combining query parameters which refer to properties (e.g. <code>/users?firstName=Dennis&amp;lastName=Laumen</code>).</p>

<p>I can even customize the mapping between the query parameters and an entity's properties by implementing the <code>QuerydslBinderCustomizer</code> interface (e.g. for case insensitive searches or partial string matches). This is all great, however I also want the clients to be able to filter some types using ranges. For example with regards to a property like date of birth I'd like to do something like the following, <code>/users?dateOfBirthFrom=1981-1-1&amp;dateOfBirthTo=1981-12-31</code>. The same goes for number based properties, <code>/users?idFrom=100&amp;idTo=200</code>. I have the feeling this should be possible using the <code>QuerydslBinderCustomizer</code> interface but the integration between these two libraries isn't documented very extensively.</p>

<p><strong><em>Concluding, is this possible using Spring Data REST and QueryDSL? If so, how?</em></strong></p>
