fix: clean mapping
This commit is contained in:
parent
56101d4a31
commit
7e4ba0b1a0
@ -228,6 +228,7 @@ class Collection(Generic[T]):
|
|||||||
else:
|
else:
|
||||||
# merge only if the two objects are not the same
|
# merge only if the two objects are not the same
|
||||||
if existing_object.id == __object.id:
|
if existing_object.id == __object.id:
|
||||||
|
exit()
|
||||||
return
|
return
|
||||||
|
|
||||||
append_to._unmap_element(existing_object)
|
append_to._unmap_element(existing_object)
|
||||||
|
Loading…
Reference in New Issue
Block a user