Skip to content

Commit e60c18c

Browse files
committed
Add ResolveTargetDocumentListener section to 1.0.0-BETA10 changelog
1 parent a6bd9a8 commit e60c18c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

CHANGELOG-1.0.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ To generate a changelog summary since the last version, run
2121
All issues and pull requests in this release may be found under the
2222
[1.0.0-BETA10 milestone](https://github.com/doctrine/mongodb-odm/issues?milestone=2&state=closed).
2323

24+
#### ResolveTargetDocumentListener
25+
26+
[#663](https://github.com/doctrine/mongodb-odm/pull/663) added a new
27+
ResolveTargetDocumentListener service, which allows `targetDocument` metadata to
28+
be resolved at runtime. This is based on a corresponding class in ORM, which has
29+
existed since version 2.2. This promotes loose coupling by allowing interfaces
30+
or abstract classes to be specified in the owning model's metadata. The service
31+
will then resolve those values to a concrete class upon the ODM's request.
32+
2433
#### Improved support for differentiating identifier types and non-scalar values
2534

2635
ODM previously required that documents use scalar identifier values. Also, the

0 commit comments

Comments
 (0)