Skip to content

Repro demonstrating issues with graphql-tools error stitching.

Notifications You must be signed in to change notification settings

hwillson/graphql-tools-stitching-errors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql-tools-stitching-errors

Repro demonstrating issues with graphql-tools error stitching.

Steps

git clone https://github.com/hwillson/graphql-tools-stitching-errors.git
cd graphql-tools-stitching-errors
npm ci
npm start

Test good response (no stitching):

curl -X POST http://localhost:3000/graphql \
  -H 'Content-Type:application/json' \
  -H 'Accept:application/json' \
  -d '{"query":"query{cars{inventory}}"}'

Test bad response (stitching):

curl -X POST http://localhost:3001/graphql \
  -H 'Content-Type:application/json' \
  -H 'Accept:application/json' \
  -d '{"query":"query{cars{inventory}}"}'

About

Repro demonstrating issues with graphql-tools error stitching.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published