mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
729a853e2f
Previously it was being bound to `$result` but this was then stripped out of the resultset by the planner. To avoid this issue we need the variable to not be seen as a wildcard or generated var. The new one is just `result`. The documentation is also now updated to show this behavior. The various client SDK's can strip it out as needed. The idea is that this is going to just be a part of the built WASM binary format. Anyone building with the lower level API's using ad-hoc queries will not need to worry about anything changing. Fixes: #2441 Signed-off-by: Patrick East <east.patrick@gmail.com>