F merge id with resolved entity
- Jan 24, 2024
-
-
Florian Spreckelsen authored
-
Florian Spreckelsen authored
-
Florian Spreckelsen authored
-
One half of the fix for caosdb-crawler#113 (closed). Introduces a merge_id_with_resolved_entity
parameter to the apiutils.merge_entities
function, that allows to identify an id value of a reference property with an entity that has this id.
Check whether you can find cases that the new unit test doesn't cover.
Unit test should be sufficient, but you can also run the new int test from caosdb-crawler!141 (merged) and verify that this enhancement resolves the bug.
Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines
For further good practices have a look at our review guidelines.