Skip to content
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

Introduce new Reactive Streams session #1325

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

injectives
Copy link
Contributor

@injectives injectives commented Oct 25, 2022

This update introduces support for reactive session with Reactive Streams types. While it is similar to the deprecated RxSession, it includes the improvements introduced with the ReactiveSession that uses Flow API types.

Sample session creation:

var session = driver.reactiveSession(org.neo4j.driver.reactivestreams.ReactiveSession.class);

@injectives injectives marked this pull request as draft October 25, 2022 08:54
@injectives injectives force-pushed the feature/reactor-session branch 8 times, most recently from 0ca83f8 to 9194cf9 Compare October 25, 2022 20:19
This update introduces support for reactive session with Reactive Streams types. While it is similar to the deprecated `RxSession`, it includes the improvements introduced with the `ReactiveSession` that uses Flow API types.

Sample session creation:
```
var session = driver.reactiveSession(org.neo4j.driver.reactivestreams.ReactiveSession.class);
```
@injectives injectives marked this pull request as ready for review October 26, 2022 08:20
Copy link
Contributor

@michael-simons michael-simons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want this. Good stuff.

Now think to just cut down the .session() methods to two (untyped gives you imperative, typed gives you whatever you want). Less is more.

For reference: neo4j-contrib/neo4j-http@6d47ae3

@injectives
Copy link
Contributor Author

I want this. Good stuff.

Now think to just cut down the .session() methods to two (untyped gives you imperative, typed gives you whatever you want). Less is more.

For reference: neo4j-contrib/neo4j-http@6d47ae3

As we have discussed, I explored updating the session methods and will submit a separate PR for review.

@injectives injectives merged commit 1fc6a41 into neo4j:5.0 Oct 26, 2022
@injectives injectives deleted the feature/reactor-session branch October 26, 2022 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants