-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: 3.0.0
-
Component/s: Codecs
-
None
-
Minor Change
This is closely related to JAVA-1760. The fix was made for DBObjectCodec but DocumentCodec remained unchanged. Now, in DBObjectCodec, the Map interface takes precedence over the Iterable interface whereas in DocumentCodec, it the other way around.
Since there are no compatibility issues to take care of, I suggest that DocumentCodec throw an error if "conflicting" interfaces are implemented by embedded objects.
- related to
-
JAVA-1760 Query failure with nested BasicDBObject created from Map
- Closed