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

docs: fix `integration-with-bun.mdx` TypeScript issue

Open yamcodes opened this issue 6 months ago • 1 comments

Fix a TypeScript issue resulting from a breaking change in Bun or GraphQL Yoga. (Unforuntately, it seems somebody didn't play nice with SemVer conventions)

The error occurs with the following versions:

The error as well as discussions about solutions are detailed here:

  • https://github.com/dotansimha/graphql-yoga/issues/3003#issuecomment-2255533003
  • https://github.com/dotansimha/graphql-yoga/discussions/2644#discussioncomment-10273630
  • https://github.com/dotansimha/graphql-yoga/discussions/2644#discussioncomment-10360551

This PR uses the discussed solution to fix the error.

yamcodes avatar Aug 16 '24 21:08 yamcodes