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 session instantiation methods #1326

Merged
merged 1 commit into from
Oct 27, 2022

Commits on Oct 26, 2022

  1. Introduce new session instantiation methods

    These new methods provide a consistent API for creating different types of session APIs.
    
    Sample usage:
    ```
    var synchronousSession = driver.session(Session.class);
    var asynchronousSession = driver.session(AsyncSession.class);
    var reactiveSession1 = driver.session(org.neo4j.driver.reactive.ReactiveSession.class);
    var reactiveSession2 = driver.session(org.neo4j.driver.reactivestreams.ReactiveSession.class);
    var reactiveSession3 = driver.session(org.neo4j.driver.reactive.RxSession.class);
    ```
    
    The following methods have been deprecated:
    - `asyncSession`
    - `reactiveSession`
    injectives committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    19cc8e0 View commit details
    Browse the repository at this point in the history