Skip to content

Custom compound id lost using mongoTemplate.aggregate [DATAMONGO-2439] #3295

@spring-projects-issues

Description

@spring-projects-issues

arthurdais opened DATAMONGO-2439 and commented

I've provided the attachment TestMongoBug.java as a POC, which shows everything, just run it and you'll see


Affects: 2.2.3 (Moore SR3)

Attachments:

Issue Links:

  • DATAMONGO-2437 Grouping after aggregation returns NULL id when mapping to a class with compound key
    (
    "duplicates"_)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions