brikteknologier / seraph-model

thin model layer for seraph/neo4j (node.js)
MIT License
111 stars 28 forks source link

saveComposition [Error: Invalid root node - 0] #87

Closed quangv closed 9 years ago

quangv commented 9 years ago

during saveComposition on a new install of neo4j I got an

[Error: Invalid root node - 0] error.

I'm not sure if neo4j ids start with 0, but I think so (the object in question has id of 0)

This PR should make it so saveComposition works on root id of 0.

jonpacker commented 9 years ago

Thanks!

jonpacker commented 9 years ago

published as 0.7.2