Identifier projection

Description

We already expose an "entity reference" projection, but a common use case is to retrieve the identifier only, not caring about the entity type at all (for example because we're targeting a single entity type).

It would be nice to expose an id projection, used similarly to the field projection:

No need to support ValueConvert.NO like we do in field projections: that's a rather niche use case, so users should just use the documentReference() projection.

Environment

None
Fixed

Assignee

Fabio Massimo Ercoli

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Priority

Major