albertoventurini / graphdb-intellij-plugin

Graph database plugin for the IntelliJ Platform
https://plugins.jetbrains.com/plugin/20417-graph-database
Apache License 2.0
52 stars 15 forks source link

False positive errors on field names starting with underscores #89

Open ivan-kleshnin opened 10 months ago

ivan-kleshnin commented 10 months ago

The following queries have valid syntax but are highlighted as invalid:

MATCH (f:Foo)
WHERE f._type = $type
//      ^ <function name> or <symbolic name string> expected, got '_'
MATCH (f:Foo)
WHERE f.type = $data._type
//                   ^ <function name> or <symbolic name string> expected, got '_'