Issue with PATCH /concordances (and possibly annotations)
Closed this issue · 1 comments
stefandesu commented
PATCH /concordances
uses lodash's _.merge
method to merge the provided patch into the existing object. This will lead to some old data being included even though it was supposed to be removed. For example, it is not possible to remove the prefLabel
of a contributor (see gbv/cocoda#708, so it can be tested with Cocoda now) or to remove a concordance's description.
stefandesu commented
Adjusted and fixed for all PATCH endpoints.