-
Notifications
You must be signed in to change notification settings - Fork 6
Bolt v3 #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Bolt v3 #27
Conversation
…since neo4j 3.5.2)
ef09149 to
f3ef601
Compare
f3ef601 to
347d700
Compare
|
Finally everything is green :) |
|
So sorry for dropping the ball here, is this good to merge? |
| @@ -1,5 +1,9 @@ | |||
| # Changelog | |||
|
|
|||
| ## v 0.6.0 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this merits a new major version.
| # ] | ||
|
|
||
| # Supervisor.init(children, strategy: :one_for_one) | ||
| # end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's delete everything that's commented out.
| def set(version) do | ||
| Agent.update(__MODULE__, fn _ -> version end) | ||
| end | ||
| end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not 100% but if I have a project and I connect to both v2 and v3 databases, wouldn't we still only have one instance of this agent and wouldn't it be confused?
I'd prefer introducing our own Connection struct that stores the connection (hence the PID of the tcp process) and the version used.
Hi @mschae
I've implemented Bolt V3. (Issues #26)
I think though that a refactoring will be needed, the 3 versions and mixed in all files and it's hard to understand how a version is different from another. It relies on doc and on the fact that user knows what he's doing. Not really the best, and in fact the code is not self explanatory anymore.
Before tackling this issue, I wait to know what's going on with the bolt_sips - boltex separation: 2 projects or 1?
Thank you