Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm: global context/base documents #1117

Closed
tsandall opened this issue Dec 19, 2018 · 0 comments
Closed

wasm: global context/base documents #1117

tsandall opened this issue Dec 19, 2018 · 0 comments
Labels

Comments

@tsandall
Copy link
Member

The planner and wasm compiler do not support references global context/base documents. We need to add support for global context/base documents to support use cases where context is dynamic and not known at compile time.

tsandall added a commit to tsandall/opa that referenced this issue Oct 11, 2019
Previously the planner only supported references into values generated
by rules or ground references to packages. If the reference was
non-ground the planner would error and references to cached data were
never evaluated.

This commit updates the planner to support the full virtual document
model. References can iterate over packages, merge base and virtual
documents, etc.

Fixes open-policy-agent#1117
Fixes open-policy-agent#1119

Signed-off-by: Torin Sandall <torinsandall@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

1 participant