neo4j / neo4j-javascript-driver

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

Throw error from validation failure #1220

Closed MaxAake closed 2 months ago

MaxAake commented 2 months ago

Changes the connection pool behavior on errors during validation, these would be unintended behavior and as such the driver should throw an error if it occurs, rather than simply logging as was the case in the 5.24.1 patch release fix.

Also updates the test to control for this behavior.