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