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

[core][feat] Allow filtering edge properties #2186

Merged
merged 9 commits into from
Sep 13, 2024

Conversation

aquamatthias
Copy link
Member

@aquamatthias aquamatthias commented Sep 11, 2024

Description

This PR allows for the creation of filters on edge properties.
Syntax:

is(user) -{access=true and permissions[*].category=read}->

This would filter edges that have a structure like:

{
  "reported": {
    "access": true,
    "permissions": [
      {"name": "s3:ListBucket", "category": "read", "scope": "resource"},
      {"name": "s3:GetObject", "category": "read", "scope": "resource"}
    ]
  }
}

To-Dos

  • I have created tests for any new or updated functionality.
  • I ran tox successfully.

Code of Conduct

By submitting this pull request, I agree to follow the code of conduct.

@aquamatthias aquamatthias merged commit 36ddfa5 into main Sep 13, 2024
6 checks passed
@aquamatthias aquamatthias deleted the mv/edge_property_parser branch September 13, 2024 10:37
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.

2 participants