DATACMNS-787 - QuerydsBindings now allows aliasing of paths.

If a single path is now handed to QuerydslBindings.bind(…), a specialized AliasingPathBinder is returned which allows defining an alias the binding will be exposed under.

By default that alias will cause the original binding being black-listed and thus become unavailable for binding. This can be overridden by explicitly white-listing the properties to be bindable.
This commit is contained in:
Oliver Gierke
2015-11-23 13:07:19 +01:00
parent 60794a8923
commit 3ed2f44e60
4 changed files with 279 additions and 79 deletions

View File

@@ -168,7 +168,7 @@ public class QuerydslPredicateArgumentResolverUnitTests {
* @see DATACMNS-669
*/
@Test
public void resolveArgumentShouldHonorCustomSpeficifcation() throws Exception {
public void resolveArgumentShouldHonorCustomSpecification() throws Exception {
request.addParameter("firstname", "egwene");
request.addParameter("lastname", "al'vere");