My application has 3 data sources: two neo4j graph dbs at different servers and a Postgres db.
neo4j-graphql-js allows to create a single
neo4j.driver that holds the neo4j server and authentication details. One can handle multiple dbs (multi-tenancy) from the same neo4j server by specifying the appropriate db name in
How can I connect to two different neo4j servers, which would require two
neo4j.driver? What are the best practices for this scenario? One option is to write custom resolvers for one or both the neo4j servers.
Hope this gets covered in the livebook Fullstack GraphQL Applications with GRANDstack.