Skip to content

Conversation

ali-ince
Copy link
Contributor

This PR fixes an issue where the injected RoutingResponseHandler hides the auto-read management capabilities of the delegated PullAllResponseHandler and results in nested queries in a single transaction. The problem only applies to routing driver and was originally fixed with #528.

This PR removes the previously introduced AutoReadManagingResponseHandler interface and makes the capability a part of the ResponseHandler interface with default methods. Both PullAllResponseHandler and RoutingResponseHandler overrides the default implementation and the latter delegates the request to the wrapped handler.

@zhenlineo
Copy link
Contributor

Nice finding. LGTM

@ali-ince ali-ince merged commit 15fc20c into neo4j:1.6 Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants