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

Snapshots #8

Merged
merged 4 commits into from
Nov 10, 2023
Merged

Snapshots #8

merged 4 commits into from
Nov 10, 2023

Conversation

divarvel
Copy link
Collaborator

@divarvel divarvel commented Oct 30, 2023

given a base64-encoded snapshot:

error reporting for datalog evaluation is missing (reporting failed checks and policies in the snapshot and extra authorizer code, syntax errors in extra authorizer code and query)
@divarvel divarvel marked this pull request as ready for review November 10, 2023 14:37
- `dump_code()` does not provide a stable order for facts, so facts can jump around when typing a query or extra authorizer code
- `to_string()` provides the origin of facts as comments, instead of obscuring it

The issue is that `to_string()` does not display authorizer facts and rules, unless we call `authorize()` first, so that's what we do.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant