We started using @neo4j/graphql to have a graphql over our neo4j graph db.
The only problem is that according to the getting started example it is only possible to init the Apollo Server with a single user (driver).
const driver = neo4j.driver(
"bolt://localhost:7687",
neo4j.auth.basic("neo4j", "password")
);
const neoSchema = new Neo4jGraphQL({ typeDefs, driver });
This causes an issue with our RBAC approach as we try to create a user per tenant and deny cross-reads.
Is there a way to use multiple drivers (per user) so that we can map each request to a different user?