-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Realm
-
Labels:None
PR #20 in the realm-cpp repo updates the way embedded objects work. It looks like you can now directly access an embedded object as a member of the parent struct - i.e. some of the tests have been updated from:
realm.write([&foo]() { (*foo.foo).bar = 84; });
To:
realm.write([&foo]() { foo.foo->bar = 84; });
Update code examples for embedded objects to reflect this (much better) syntax.