Closed thomas91310 closed 9 years ago
Hi Thomas
In short, nope there was no reason for this, this indeed a bug. However @bibby has already a PR #39 which is merged and i'll be releasing a new version of node-neo4j this afternoon with that patch included.
Sorry it took so long for me to reply. Cheers Phil
Hey,
Just wondering about listAllIndexes behavior when the GraphDB has no index. Got this error when calling
listNodeIndexes
:Is it something that should be handled by Neo4j ? Is there a reason for this ? Would returning an empty object, "false" or anything that would inform the user that no content was found be better than causing this error ?
If yes, I would be happy to change the listIndexes method and make a pull request.
Thomas