brikteknologier / seraph

A thin and familiar layer between node and neo4j's REST api.
MIT License
309 stars 59 forks source link

optional match not returning results #179

Closed beebase closed 9 years ago

beebase commented 9 years ago

This is what I get using neo4j webbrowser: image

This is what I get using seraph: image

image

Shouldn't this work?

beebase commented 9 years ago

This doesn't seem related to seraph. It's not working, even when I use plain neo4j rest-api or other npm modules like neo4j-node. I added a post here: http://stackoverflow.com/questions/32678074/optional-match-not-returning-result

jonpacker commented 9 years ago

Just out of interest, have you tried var params = {recId: parseInt(recId)}? It's possible that the REST API isn't very forgiving with types in that comparison there.

beebase commented 9 years ago

Yes! That's it. Thanks, I was going nuts here. If you're on stackoverflow, you might want to answer my post, so I can mark it as a correct answer.

jonpacker commented 9 years ago

I'll do that :) glad I could help.