Details
-
Task
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
Description
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.