Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve combined input example #542

Merged

Conversation

shteou
Copy link
Contributor

@shteou shteou commented Apr 17, 2021

The docs example policy for the combine flag uses underscores
for the index of the input document

The underscore should be avoided here, as it can lead to data
being resolved in multiple input documents where the policy calls
for acting on a single document in a set

Signed-off-by: Stewart Platt shteou@gmail.com

The docs example policy for the `combine` flag uses underscores
for the index of the input document

The underscore should be avoided here, as it can lead to data
being resolved in multiple input documents where the policy calls
for acting on a single document in a set

Signed-off-by: Stewart Platt <shteou@gmail.com>
@jpreese
Copy link
Member

jpreese commented Apr 17, 2021

Makes sense to me, thanks for your contribution @shteou !

@jpreese jpreese self-requested a review April 17, 2021 16:20
@jpreese jpreese merged commit 5389a37 into open-policy-agent:master Apr 17, 2021
@shteou shteou deleted the improve-combined-input-examples branch April 17, 2021 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants