fix: clean mapping

This commit is contained in:
Hazel 2024-04-17 18:00:41 +02:00
parent 56101d4a31
commit 7e4ba0b1a0

View File

@ -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)