How do you properly delete objects in a realm list? Is this the proper way:
class Parent: Object {
dynamic var children: List<Child>
}
realm.write {
realm.delete(parent.children)
parent.childList.removeAll()
}
My tests are not liking this