graphql/mesh/docs/getting-started/combine-multiple-sources #5485
Replies: 2 comments
-
To run "yarn start-multiple-sources", the package.json for "stores-service" and "authors-service needs to be modified as follows for the latest NPM and "esbuild" to work:
Otherwise you will receive an error everything you run the script that the file or directory does not exist. I believe the latest version of esbuild changes how the bundle is created, so a pipe command will not work. |
Beta Was this translation helpful? Give feedback.
-
For Stores Service to run and not throw a duplex error, the following code inside the generated "index.js" needs to have a "duplex" variable added with a value set to "half":
|
Beta Was this translation helpful? Give feedback.
-
graphql/mesh/docs/getting-started/combine-multiple-sources
Learn how to combine multiple sources in GraphQL Mesh. Add new sources and shape the unified schema to leverage introspection to get its schema with just the endpoint URL.
https://the-guild.dev/graphql/mesh/docs/getting-started/combine-multiple-sources
Beta Was this translation helpful? Give feedback.
All reactions