Hi,
Currently Node/Relationship.where method is implemented returning PatternElement. Can it return Node/Relationship, similar to Node/Relationship.withProperties?
This is to allow constructing such Node/Relationship in a separate method, to be able to use it where Node/Relationship is expected, not only in match clause.
The simplest way to do this seems to be moving PatternElement.where to ExposesProperties.