Skip to content

Investigate reactive lazy DBRef resolution #2496

@spring-projects-issues

Description

@spring-projects-issues

Mark Paluch opened DATAMONGO-1583 and commented

We should investigate on a way to resolve Mongo database references (@DBRef) lazily retaining reactive semantics.

Currently, lazy @DBRef resolution incurs blocking data access as it retrieves the underlying reference(s) when accessing methods of the reference.

Applying the same resolution easily leads to unwanted, blocking access. A reactive reference type should reflect

  • reactivity
  • multiplicity
  • possibly access to the underlying reference Id's

Reactive @DBRef's should allow multiple reads of the referenced objects


Affects: 2.0 M1 (Kay)

Issue Links:

Metadata

Metadata

Labels

in: mappingMapping and conversion infrastructurestatus: declinedA suggestion or change that we don't feel we should currently applytype: taskA general task

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions