Data API behaviour #748
Unanswered
ankit-india-commits
asked this question in
OPA and Rego
Replies: 1 comment
|
The Data API returns the subtree of the specified path. If you want to keep things separate, you need to adjust your paths in |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have two policy paths:
/v1/data/policy/product
/v1/data/policy/product/details
When I query /v1/data/policy/product, it also evaluates/includes product/details.
Why does querying the parent path return child data as well?
Is OPA treating product as a hierarchical document?
How can I keep them completely separate?
All reactions