microsoft / rego-cpp

A C++ interpreter for the OPA policy language Rego
https://microsoft.github.io/rego-cpp/
MIT License
33 stars 9 forks source link

Rego expressions are silently ignored resulting in incorrect behavior #126

Closed anakrish closed 5 months ago

anakrish commented 8 months ago
package test

a = {"a"} | {"b"}

evaluates to {"test":{"a":["a"]}} instead of {"test":{"a":["a", "b"]}}