-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Evaluate JSON Pointers using late binding
This commit replaces the previous preprocessor-based implementation of JSON Pointers with one that natively runs in the Policy Expression `Executor`. It uses the ExprMutator visitor trait to evaluate JSON Pointers in two steps: first, pointers are looked up but the original pointer string is preserved. Then, the looked-up value is inserted. This structure is meant to allow for better error messages and user-facing explanations of why a Policy Expression was evaluated a given way.
- Loading branch information
1 parent
30bde41
commit 25c106f
Showing
5 changed files
with
116 additions
and
171 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
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.