We're updating the issue view to help you get more done. 

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.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major