Make the call to asXXX() (asEntity, asReference) optional in the Search DSL

Description

Just to make the DSL less verbose, we should allow the mappers to specify a default "projection", so that we can write something like this:

And if the user really needs to change the projection, they can still call the asProjection method explicitly:

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Priority

Created May 20, 2019 at 11:12 AM
Updated May 24, 2019 at 1:38 PM
Resolved May 21, 2019 at 4:43 PM