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

Evaluating 'data' in repl does not work #150

Closed
tim-styra opened this issue Nov 16, 2016 · 0 comments · Fixed by #168
Closed

Evaluating 'data' in repl does not work #150

tim-styra opened this issue Nov 16, 2016 · 0 comments · Fixed by #168
Labels

Comments

@tim-styra
Copy link
Contributor

data
error: unbound value: _
data[x]
error: 1 error occurred: 1:1: repl1: recursive reference: repl1 -> repl1 (recursion is not allowed)

tsandall added a commit to tsandall/opa that referenced this issue Nov 24, 2016
Now that the QueryCompiler is being used, we can repl.OneShot("data") and see
the entire global document evaluated!

Fixes open-policy-agent#150
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants