I'm trying to find a way to opt out on this since my server side project uses inlined dictionaries/documents inside other documents.
Looking at line 354 here https://github.com/couchbase/couchbase-lite-ios/blob/580c5f65ebda159ce5d0ce1f75adc16955a2a6ff/Source/API/CBLModel.m 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! -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/f5960bae-9fb3-424c-bd3d-da0410ceb49f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
