partialResult of customBuiltin #117
Unanswered
Evange95
asked this question in
OPA and Rego
Replies: 1 comment
-
Built-ins in general are partially evaluated as follows:
See the difference here,
The list of impure built-in functions is here: https://github.com/open-policy-agent/opa/blob/v0.37.1/ast/builtins.go#L274-L283 |
Beta Was this translation helpful? Give feedback.
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, I would like to know if it is possible to partially evaluate a policy rego that uses a custom builtin.
In detail the builtin performs a call to a mongodb collection taking all the parameters needed from the context.
I'm currently having some problems with it and I want to know if it is not possible in general.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions