forked from open-policy-agent/opa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parse: include rule head location when requested
Prior to this commit, when the AST information were serialized to JSON, rules expressed as discussed in open-policy-agent#5790 included only the location of their value and not the one of the rule ref var itself. Now the AST serialized to JSON includes this information. Fixes: open-policy-agent#5790 Signed-off-by: Gianluca Oldani <[email protected]>
- Loading branch information
1 parent
002c980
commit 70e0331
Showing
3 changed files
with
549 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.