You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the with modifier is used on a non-input document reference, the compiler returns the following error message:
rego_type_error: test_rule: with keyword target must be input
This can be a bit confusing for users. It would be good to include the resolved target term in the error message.
When the with modifier is used to override the entire input document, it'll be much clearer if the input document has been mocked out inside the module.
The text was updated successfully, but these errors were encountered:
If the
with
modifier is used on a non-input
document reference, the compiler returns the following error message:This can be a bit confusing for users. It would be good to include the resolved target term in the error message.
When the with modifier is used to override the entire input document, it'll be much clearer if the input document has been mocked out inside the module.
The text was updated successfully, but these errors were encountered: