-
Hi. I am currently trying to stitch together two schemas: A local schema defined within my gateway service, and a remote schema define within a mock client service. According to the GraphQL Tools docs, I should be able to do this without writing an executor function by using the url-loader to load the remote schema. I have so far been unable to get it working however. The client service is working fine, however I cannot query either the local nor the remote schema through the gateway. Instead, the gateway seems to be defaulting to the default GraphQL Yoga schema. The gateway repo is here: https://github.com/AaronD1/Unb-Gateway Any help in understanding what I'm doing wrong is greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The issue has been resolved. The @graphql-tools/schema package was overwriting my own schema, even when I wasn't actually using the package to create a schema in my code. I initially installed this package to create a local schema in the gateway to test stitching, and it turns out that it has been the issue all along. |
Beta Was this translation helpful? Give feedback.
The issue has been resolved. The @graphql-tools/schema package was overwriting my own schema, even when I wasn't actually using the package to create a schema in my code. I initially installed this package to create a local schema in the gateway to test stitching, and it turns out that it has been the issue all along.