You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Bug
Not sure if this is a bug, probably a feature request instead.
I have a use case where I want to separate resolvers into 2 groups: admin resolvers and public resolvers, and generate two different schemas.
However, I noticed that the public schema generate contained all the resolvers(including the private admin resolvers).
Here's the code snippet for generating public schema:
publicResolvers only contains the public resolvers, but I do have all the resolvers binded to a container(inversifyjs), looks like the container resolvers took precedence, that might be the reason why.
Is there a way to generate the schema based the resolvers passed in?
Thanks!
The text was updated successfully, but these errors were encountered:
Describe the Bug
Not sure if this is a bug, probably a feature request instead.
I have a use case where I want to separate resolvers into 2 groups: admin resolvers and public resolvers, and generate two different schemas.
However, I noticed that the public schema generate contained all the resolvers(including the private admin resolvers).
Here's the code snippet for generating public schema:
publicResolvers
only contains the public resolvers, but I do have all the resolvers binded to a container(inversifyjs), looks like the container resolvers took precedence, that might be the reason why.Is there a way to generate the schema based the resolvers passed in?
Thanks!
The text was updated successfully, but these errors were encountered: