neo4j-graphql / neo4j-graphql-js

NOTE: This project is no longer actively maintained. Please consider using the official Neo4j GraphQL Library (linked in README).
Other
608 stars 148 forks source link

Make session in assertSchema configurable #578

Open aurlien opened 3 years ago

aurlien commented 3 years ago

Similar to https://github.com/neo4j-graphql/neo4j-graphql-js/pull/577, this change is needed so that one can target a specific database in projects with multiple active Neo4j databases.

With the change, a user could call the function like this:

assertSchema({ driver, schema, sessionParams: { database: 'foo' } })
michaeldgraham commented 3 years ago

https://github.com/neo4j-graphql/neo4j-graphql-js/issues/608