I'm trying to find a way to opt out on this since my server side project uses inlined dictionaries/documents inside other documents.
the current implementation grabs the documentID like so:
else if ([value isKindOfClass: [CBLModel class]])
value = ((CBLModel*)value).document.documentID;
and I'd like to just grab the properties dictionary instead but the problem is I couldn't immediately see where I should be changing the corresponding loading routine?
in other words, when the CBLModel loads the document after having saved a relationship as a dictionary instead of an ID it'll expect to see an ID when it tries to access the underlaying document and then crash when there's a dictionary there instead.
Any guidance would be helpful, thanks in advance!