-
Notifications
You must be signed in to change notification settings - Fork 11
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
Feature Request: Loading Data Files #205
Comments
Hi @ossie-git, thanks for reporting! This sounds relatively easy to add. Just to be clear -- can you confirm that you mean loading a data file by using something like:
Or:
|
Hi @jaspervdj-luminal Exactly. It would be great if you can load in a data file (and possibly namespace it) so your rego files work exactly as they would in production (any import lines or full lines: data.managers... in your rego would point to the loaded data files) |
I added loading data files in #210. Namespacing is not yet supported, I'll do that in a follow-up PR. |
I've added namespacing with support for the same syntax that OPA uses ( |
Will definitely check it out. Thanks |
Hi,
Just ran into Fregot and really like it. Although you can currently load input using :input and load a rego file, it would be great if you could tell it to load a data file. Is this currently planned? Thanks
The text was updated successfully, but these errors were encountered: