neo4j-labs / arrows.app

A graph drawing application
https://arrows.app
Apache License 2.0
114 stars 17 forks source link

String type property values with leading numbers aren't wrapped in double quotes when exported to Cypher #1

Closed mattmodarres closed 3 years ago

mattmodarres commented 3 years ago

This results in an invalid query.

The issue applies to both node and relationship properties. Numbers elsewhere in the string are handled correctly.

For example: A Location node with property address: 123 Main Street will result in (n2:Location {address: 123 Main Street}) when exported to Cypher, whereas using address: Main Street will give (n2:Location {address: "Main Street"}).

Tested in Firefox and Chrome.

apcj commented 3 years ago

Thanks @mattmodarres . This is definitely a bug - will fix it soon.

apcj commented 3 years ago

Now fixed. Please make sure you hard refresh to get the latest code.