forked from open-policy-agent/opa
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wasm: Add support for pattern matching on composites
These changes add basic support for pattern matching on arrays and objects. Sets and comprehensions not supported yet. Also, as part of these changes, remove the opa_value_not_equal function as it's unnecessary given opa_value_compare. ref open-policy-agent#1113 Signed-off-by: Torin Sandall <torinsandall@gmail.com>
- Loading branch information
Showing
12 changed files
with
435 additions
and
44 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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.