mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-20 15:31:14 -06:00
fda63bd26a
Previously the build command and the compile package would only mark input as unknown. If documents under data needed to be treated as unknown, there was no solution. This commit updates the compile package to infer unknowns based on the bundle roots. If the policy refers to a data document _outside_ of one of the bundle roots, that data document will be marked as unknown during optimization/partial eval. Fixes #2581 Signed-off-by: Torin Sandall <torinsandall@gmail.com>