graphql-tools
graphql-tools copied to clipboard
Helper package to create a basic Stitching gateway based on directives via HTTP
import { createStitchingDirectivesHTTPGateway } from '@graphql-tools/stitching-directives-http';
const gatewaySchema = createStitchingDirectivesHTTPGateway([
{
url: 'http://localhost:4001/graphql',
sdl: /* GraphQL */ `...`
}
])
const yoga = createYoga({ schema: gatewaySchema })
🦋 Changeset detected
Latest commit: 7e1791fe14c669d81c2977ee60386c4e092d1019
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @graphql-tools/stitching-directives-http | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR