Update neo4j-driver
Created by: Tirokk
Authored by roschaefer Merged
Fix API changes. Also close the session in resolver only and refactor userMiddleware to become a part of the resolver.
The fix for the test was to move session.close
into the finally block at the end of the resolver. It was complaining about using a session in userMiddleware.js
which was already closed.