final child = Folder(name: 'child1');
final folder = Folder(name: 'parent', children: [child]);
Then an assertion error would be thrown. This is because currently there lacks a non-trivial way for me to add the child sensibly back to the parent, as we don't have an insert method to backlinks.
Currently, if we specify backlinks in the constructor, their values would be ignored. For example, if we have a schema as follows:
Then, if we do as following:
Then an assertion error would be thrown. This is because currently there lacks a non-trivial way for me to add the
child
sensibly back to the parent, as we don't have aninsert
method to backlinks.