Use more generic wording in the query DSL

Description

Switch to a more accessible wording:

  • asProjection(...) -> select( … )

  • asEntity() -> selectEntity()

  • asEntityReference() -> selectEntityReference()

  • predicate(...) -> where(...)

The point is to have examples more easily understood by new users reading blog posts, the documentation, etc.

The scope methods (scope.predicate(), ...) should not change: those refer to the type of object they allow to build, so their current name is appropriate.

We will keep the old methods, but deprecate them.
We will keep them for a long time, probably until the last betas.

We will need to update:

  • Documentation

  • Quarkus documentation

  • Quarkus quickstart

  • Blog posts

We will need to explain the reasons for this change in the release blog post.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Priority

Created January 20, 2020 at 9:43 AM
Updated February 21, 2020 at 5:10 PM
Resolved January 28, 2020 at 8:31 AM