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

Make session in searchSchema configurable #1

Closed
wants to merge 1 commit into from

Conversation

aurlien
Copy link
Owner

@aurlien aurlien commented Jan 20, 2021

This change solves neo4j-graphql#570, by adding sessionParams as a parameter to the searchSchema function.

When working on a multi-database project, searchSchema could be used like this to target a non-default database foo:

searchSchema(driver, schema, sessionParams: { database: 'foo' })

Upstream PR: neo4j-graphql#577

@aurlien aurlien closed this Jan 20, 2021
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.

1 participant