Hey guys,

We have an issue <https://github.com/neo4j/community/issues/92> on Github
that's nagging me. In Cypher, you can declare a path by assigning it to an
identifier, like so:

MATCH p = a-->b

The issue we have is that when the relationship between a and b are
optional, we might end up with a path that contains at least one null. Now,
my question is:

a) Should Cypher allow paths (org.neo4j.graphdb.Path) with null in them?

or

b) Should Cypher just not allow you to have optional relationships assigned
to paths?

WDYT?

Personally, I'm leaning towards b. I don't see an use case that would be
helped by a, and a introduces problems that I'd like to avoid.

Andrés
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to