neo4j / neo4j-javascript-driver

Neo4j Bolt driver for JavaScript
https://neo4j.com/docs/javascript-manual/current/
Apache License 2.0
839 stars 148 forks source link

Refactory: remove session usage on Rediscovery #1189

Open bigmontz opened 2 months ago

bigmontz commented 2 months ago

There is no need for using Session objects in the rediscovery, this dependency only causes coupling in objects which should not be coupled.

Replacing it usage by Connection + SessionContext objects also remove the need for the SingleConnectionProvider.