Does OPA support JSON patch move operation? #462
-
OPA does not seem to support the
I see that only |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @thilak009, you're right in that there is an inconsistency here.
The built in function implementation is different from the code which handles API requests for the Data patch operation.
The superficial reason is that these are all that's exposed by the underlying data storage interface, of which there are two in-tree implementations (inmem and disk). Changes to this interface would need to be carefully considered since there are likely 3rd party implementations that would break if we added required support for more operations. What are you trying to do? There might be a better way to achieve it. Have you considered Delta Bundles? https://www.openpolicyagent.org/docs/latest/management-bundles/#delta-bundles |
Beta Was this translation helpful? Give feedback.
Hi @thilak009, you're right in that there is an inconsistency here.
The built in function implementation is different from the code which handles API requests for the Data patch operation.
The superficial reason is that these are all that's exposed by the underlying data storage interface, of which there are two in-tree implementations (inmem and disk). Changes to this interface would need to be carefully considered since there are likely 3rd party implementations that would break if we added required support for more operations.
What are you trying to do? There might be a better way to achieve it. Have you con…