This message was deleted.
# opal
s
This message was deleted.
o
Hi @Ben Lieber, I believe that's currently a missing feature in Cedar-agent ( @Omer Zuarets correct me if I m wrong). Currently it expects the entire data object to be updated. You can use an intermediate proxy service to handle reintegrating the full data set. Or perhaps you can help by contributing to Cedar-agent
b
@Or Weis thanks for the response, I think that addresses the
Cedar can only change the entire data structure at once
error (I would happily contribute once we get a little more movement here). For the second part, does it not like the structure because it’s at the root? In other words, if it was allowing embedded datasets ia
dst_path
, it would be fine with the generic JSON data structure and I wouldn’t get the second error?
o
The dst_path is root because cedar doesn’t use its data in a general JSON format, it uses a json array of “Entity”. It is harder to modify the exact entity based on the “dst_path” given because of that, for example if you delete an entity you need to find all its descendants and delete it from them also.