You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Looking at it, I notice that relationshipTypes doesn't handle expressions like [:WORKS_FOR:OWNS] either, so this might fix that? I'm not really sure what that pin is doing though. It's still a subset of the label-expression syntax, but seems to take care of most simple uses without getting recursive. NodeLabels is used in SET, so I'm guessing you probably shouldn't change it, although it's also used in this line:
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 likeMATCH ()-[:WORKS_FOR|OWNS]->()
is handled correctly. The other one I noticed is '!' likeMATCH (:!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 typesAnyways, Thank you!
The text was updated successfully, but these errors were encountered: