You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the org.springframework.data.neo4j.core.FluentFindOperation.FindWithQuery#matching(org.neo4j.cypherdsl.core.Statement, java.util.Map) method (for example when using the Neo4jTemplate) the given statement is rendered using the default renderer. This means any configuration provided via a Configuration-Bean is lost / ignored for this particular statement.
I found this bug because the generated Cypher statements were always rendered with id instead of elementId even though I explicitly defined them via the Cypher-DSL and also set the Neo4J-Version to v5 in the Configuration-Bean.
A possible solution could be to not render the match-statement in place and instead delay the rendering until the configuration is in scope to get the actual renderer.
A minimal example showing the issue is provided here.
The text was updated successfully, but these errors were encountered:
When using the
org.springframework.data.neo4j.core.FluentFindOperation.FindWithQuery#matching(org.neo4j.cypherdsl.core.Statement, java.util.Map)
method (for example when using the Neo4jTemplate) the given statement is rendered using the default renderer. This means any configuration provided via aConfiguration
-Bean is lost / ignored for this particular statement.I found this bug because the generated Cypher statements were always rendered with
id
instead ofelementId
even though I explicitly defined them via the Cypher-DSL and also set the Neo4J-Version to v5 in theConfiguration
-Bean.A possible solution could be to not render the match-statement in place and instead delay the rendering until the configuration is in scope to get the actual renderer.
A minimal example showing the issue is provided here.
The text was updated successfully, but these errors were encountered: