graphql-compose / graphql-compose/graphql-compose-mongoose

switch database :useDb()

Open
#26 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
706
Forks
98
PR merge metrics
No merged PRs in 30d

Description

I have been exploring various libraries for mongoose and graphql and this really looks promising.Great work guys .

I have a scenario where i need to switch database on the bases of request parameters is there any way i can replace the model object for every resolver using [useDb](http://mongoosejs.com/docs/api.html#drivers_node-mongodb-native_connection_NativeConnection-useDb) function

I may be trying to find some thing which is already available in graphql-compose-mongoose

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.