graphql recipes
2 tested graphql integration recipes with graphql-yoga, graphql-request, MSW. Exact pinned versions and a last-passed receipt, last run 2026-10-15.
passed4/4typescript
GraphQL Yoga 5 schema, context and errors tested via fetch
Build a GraphQL Yoga server with SDL resolvers, per-request context auth and GraphQLError codes, tested in-process with yoga.fetch.
graphql-yoga@5.24.5graphql@17.0.2tsx@4.23.15
last passed 2026-10-15 13:15 UTC
passed3/3typescript
graphql-request client with typed operations, mocked by MSW graphql handlers
Call a GraphQL API with graphql-request (variables, headers, error handling) and test offline with MSW's graphql.link(url).query/mutation handlers (msw 3 API). graphql stays on 16.x: graphql-request 7 peers on graphql 14 - 16.
graphql-request@7.4.0graphql@16.14.2tsx@4.23.15
last passed 2026-10-15 13:15 UTC