grafito icon indicating copy to clipboard operation
grafito copied to clipboard

Edge property filters should work exactly like node property filters

Open drkameleon opened this issue 8 months ago • 0 comments

As of the latest PR, we can actually set properties for edges and create relevant queries.

However, the capabilities are not the same.

For example, we can do:

person [age: -> above: 30]

(if person is a node)

...but we can do:

person [
     livedIn: |> place [][
          duration: -> above 2
     ]
]

(where livedIn is an edge)

This has to be fixed. Pretty much, we'd have to copy the "filter-nodes-based-on-properties" implementation and replicate that in the equivalent for our edges.

drkameleon avatar Nov 04 '23 12:11 drkameleon