Skip to content

Commit c5ff7cd

Browse files
Thomas Darimontodrotbohm
authored andcommitted
DATAMONGO-1005 - Improve cycle-detection for DbRef's.
Introduced ObjectPath that collects the target objects while converting a DBObject to a domain object. If we detect that a potentially nested DBRef points to an object that is already under construction we simply return a reference to that object in order to avoid StackOverFlowErrors. Original pull request: #209.
1 parent f9ccf4f commit c5ff7cd

File tree

2 files changed

+273
-29
lines changed

2 files changed

+273
-29
lines changed

0 commit comments

Comments
 (0)