Skip to content

Relax field name checks for TypedAggregations. #3542

Closed
@christophstrobl

Description

@christophstrobl

Mapping field names to domain type properties should not fail if a given field name does not correspond to a property of the target domain type as it might only be part of the document stored in MongoDB.

This would allow to eg. write aggregations like

Aggregation.newAggregation(group("_id").first("name").as("name"));

without having to project("id", "name") on the fields upfront.


Relates to: #3466

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions