Lee Hericks

Results 50 comments of Lee Hericks

> đź‘Ť Yeah, definitely agreed about have a Ruby style. Though Neo4j, Inc. is standardizing on a common API across all languages, so I think it's important to work within...

Yeah, I probably shouldn't have spent half a work day on this hehe. But, I went through their driver docs and the driver is instantiated once. They say that sessions...

> Just a clarification. According to your proposal this should not close the session, right? > > > driver.session.run('MATCH (a:Person) RETURN a.name AS name') > > But this should >...

Thank you for the concrete example. I didn’t think of it. Of course the block could be instance_eval in the context of a SessionProxy object that restricts the visible API....

@klobuczek fair enough about the bookmarks. I've revisited the docs and Java does have `lastBookmark`, although it's also hardcoding the expectation that you never need earlier bookmarks. Do you know...

@klobuczek As we discuss I will edit my proposal at the top. Regarding transactions, how do you feel about the following? Again, it's Ruby magic, but it does add optional...

@klobuczek This is interesting, I'm learning a lot about modules and the ancestors chain here. prepend is interesting. I'm still curious, regarding instance_eval for blocks with no arguments, don't you...

Well, I think it's generally understood that if you say a session has `run`, `read_transaction`, `write_transaction`, `begin_transaction` and `close` methods that using the instance_eval version means the developer can't use...

@klobuczek I think it's ruby-like to do as you suggested but of course requires documentation to know the symbols. `load_balancing_strategy: :least_connected` `load_balancing_strategy: :round_robin` What about this for trust strategy settings?...

Ok, well I just thought it seemed inconsistent to have different programming strategies for the two options, especially when I saw how they defined `TRUST_ALL_CERTIFICATES` in the [driver documentation](https://neo4j.com/docs/developer-manual/3.4/drivers/client-applications/#driver-configuration-trust). C#,...