graphdb-intellij-plugin icon indicating copy to clipboard operation
graphdb-intellij-plugin copied to clipboard

Label Expressions not handled (but relationship type expressions are)

Open flaar94 opened this issue 1 year ago • 1 comments

Hi,

First of all, thanks for all your work! This plugin is a real lifesaver when working with complicated neo4j queries.

I have noticed that it doesn't seem to support most label expressions for cypher (https://neo4j.com/docs/cypher-manual/current/patterns/reference/#label-expressions), even when the corresponding expression is supported for relationship type expressions. In particular '|', eg: MATCH (:Person|Company) is marked as incorrect while something like MATCH ()-[:WORKS_FOR|OWNS]->() is handled correctly. The other one I noticed is '!' like MATCH (:!Company) doesn't work for either labels or relationship types, but I don't use that one very often. The docs claim the syntax for labels and types are the same, so I hope it wouldn't be too much work to fix the former issue since it's apparently already done for relationship types

Anyways, Thank you!

flaar94 avatar Sep 27 '23 15:09 flaar94