Allow a CFood to have identifiables that depend on each other. E.g. an identifiable Project
and an Experiment
that references it.
Identifiables are now treated one after the other when checking whether they need to be inserted.
Automated tests should suffice. Note that tests where changed slightly such that they fail without this fix: https://gitlab.indiscale.com/caosdb/src/caosdb-advanced-user-tools/-/jobs/37342 Since identifiables are not treated correctly the experiment is inserted a second time which leads to the violation of the unique query.
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.