Add a lambda-based syntax to the projection DSL

Description

In particular, allow this, to be consistent with the predicate and sort DSL:

  • .asProjection( f -> f.field( "title", String.class ).toProjection() )

  • .composite( Book::new, f -> f.field( "title", String.class ).toProjection() )

That should allow us to simplify a few calls in our tests.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Priority

Created November 21, 2018 at 10:40 AM
Updated January 31, 2019 at 3:08 PM
Resolved December 12, 2018 at 7:07 AM