aseemk / node-neo4j-template

A template app for using Neo4j from Node.js.
http://node-neo4j-template.herokuapp.com/
216 stars 91 forks source link

Move to Neo4j 2.0 property-based constraints #11

Closed aseemk closed 9 years ago

aseemk commented 10 years ago

Instead of using native Neo4j IDs directly

E.g. a new username property.

aseemk commented 10 years ago

Labels implemented! Commit: https://github.com/aseemk/node-neo4j-template/commit/58e6d026e21538eb21437d59763e9586e8e8a6c5

Renaming this issue to just constraints now.

aseemk commented 9 years ago

Just noting that doing this will be a breaking data change, so I should reset the cloud db.

aseemk commented 9 years ago

Also, this will now necessitate validation (e.g. shouldn't be able to create a new user with an existing username), which starts to add complexity for a basic example app...