graphql-tools icon indicating copy to clipboard operation
graphql-tools copied to clipboard

Helper package to create a basic Stitching gateway based on directives via HTTP

Open ardatan opened this issue 2 years ago • 1 comments

import { createStitchingDirectivesHTTPGateway } from '@graphql-tools/stitching-directives-http';

const gatewaySchema = createStitchingDirectivesHTTPGateway([
  {
     url: 'http://localhost:4001/graphql',
     sdl: /* GraphQL */ `...`
  }
])

const yoga = createYoga({ schema: gatewaySchema })

ardatan avatar Mar 14 '23 12:03 ardatan

🦋 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

changeset-bot[bot] avatar Mar 14 '23 12:03 changeset-bot[bot]