Skip to content

Expose resolverFacctory for manual creation of resolvers #274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nodkz opened this issue Sep 14, 2020 · 1 comment
Closed

Expose resolverFacctory for manual creation of resolvers #274

nodkz opened this issue Sep 14, 2020 · 1 comment
Milestone

Comments

@nodkz
Copy link
Member

nodkz commented Sep 14, 2020

eg. for creation new resolvers on top of cloned types: resolverFactory.findMany(UserModel, ClonedUserTC, opts)
– it generates Resolver with types according to ClonedUserTC and will use mongoose UserModel for making requests to DB.

Also, you may change the mongoose model for making requests to different databases on top on the same UserTC type.

@nodkz nodkz added this to the 9.0.0 milestone Sep 14, 2020
@nodkz
Copy link
Member Author

nodkz commented Sep 14, 2020

Implemented in b62ef6f

@nodkz nodkz closed this as completed Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant