neo4j / neo4j-javascript-driver

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

Refactory: remove session usage on Rediscovery #1189

Open bigmontz opened 7 months ago

bigmontz commented 7 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.