Skip to content

Conversation

@raulsteurer
Copy link
Contributor

There used to be a second way of specifying the database via the Neo4jGraphQL constructor that has been removed in version 4.0.0

There are two ways to specify which database within a DBMS should be used.

=== Context
The database within a DBMS that should be used can be specified via the `sessionConfig` field in the `context` that all resolvers share.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The database within a DBMS that should be used can be specified via the `sessionConfig` field in the `context` that all resolvers share.
Specify the database to be used in your DBMS via the `database` field under `sessionConfig` in the `context` that all resolvers share.

double-check if the intended meaning is still captured

@rsill-neo4j rsill-neo4j requested a review from mjfwebb September 17, 2024 08:04
@neo-technology-commit-status-publisher
Copy link
Collaborator

neo-technology-commit-status-publisher commented Sep 19, 2024

Thanks for the documentation updates.

The preview documentation has now been torn down - reopening this PR will republish it.

@mjfwebb mjfwebb merged commit ca76b38 into neo4j:5.x Sep 19, 2024
4 checks passed
@mjfwebb
Copy link
Contributor

mjfwebb commented Sep 19, 2024

Thank you very much for your contribution @raulsteurer !

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.

4 participants