Code from github.com/anakrish/rego-rs

Authored by anakrish and mingweishih

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2023-02-09 10:56:54 -08:00
parent 8f67aeecb0
commit cb0b3a1790
85 changed files with 11144 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
cases:
- note: simple-no-cross-ref
data: {}
modules:
- |
package a
b = 1
- |
package b
c = 1
query: data
want_result:
a:
b: 1
b:
c: 1
- note: simple-cross-ref-in-order
data: {}
modules:
- |
package a
b = 1
- |
package b
c = data.a.b
query: data
want_result:
a:
b: 1
b:
c: 1