graphql-compose-mongoose icon indicating copy to clipboard operation
graphql-compose-mongoose copied to clipboard

Provide collection name from request

Open chernov-av opened this issue 2 years ago • 0 comments

I have multiple collections in mongoDb named "UserData_%some id%". All collections have the same scheme. In "clean" gql+mongoose I can provide collection name by credentials data from resolver. Is there any way to setup collection name for query in wrapResolve (or any other way)?

chernov-av avatar Sep 11 '23 07:09 chernov-av