Skip to content

Refactorings in MongoTemplate [DATAMONGO-1169] #2088

Open
@spring-projects-issues

Description

@spring-projects-issues

Oliver Drotbohm opened DATAMONGO-1169 and commented

MongoTemplate has grown quite significantly over the last years. We should take a few steps to reduce its size a bit:

  • move all nested classes into separate files
  • extract logic to determine the collection name to be used into a dedicated component (EntityMetadata, could even include QueryMapper, too).
  • move execution of aggregations into separate component
  • use Query NULL-object to avoid repeated instantiation

No further details from DATAMONGO-1169

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions