-
-
Notifications
You must be signed in to change notification settings - Fork 676
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
Metadata leak between schemas #234
Comments
Yeah, it's a duplicate of #110 🔒 For now, you need to run two separated node.js processes:
With separated createServer function with not imports overlap. |
I was facing the same behaviour and acknowledge that the work around on v0.17.X would be to run two separate node.js scripts. Just wanted to discuss what I found and understand whether this is similar if not the same fix that was implemented in v0.18.0-beta.1. I'm hesitant to use the beta for now. I noticed that there was a in
This resulted in the behaviour: that each generation of schema is according to the definitions provided. Was this the approach taken in the fix of 0.18.0-beta.1? Or are there some other considerations that I have not taken into. |
Describe the bug
As said in #196 there should not be metadata leak between two schemas using different resolvers.
But currently booth schemas get same resolvers.
Actually it's related to #110 and #183, so close if you think it's duplicate.
To Reproduce
Minimal reproducible code:
Expected behavior
/graphql-schema-1
should only havetestSchema1
query, and/graphql-schema-2
—testSchema2
Enviorment (please complete the following information):
The text was updated successfully, but these errors were encountered: