🧘 Rewrite of a fully-featured GraphQL Server with focus on easy setup, performance & great developer experience. The core of Yoga implements WHATWG Fetch API and can run/deploy on any JS environment.
These two definitions have nothing to do with each other. That's why you cannot get "context" typed.
createSchema also takes a context generic that might help for you.
Describe the bug
Context is not being typed.
Your Example Website or App
https://codesandbox.io/p/devbox/beautiful-dust-h4f98s?file=%2Findex.ts%3A12%2C13
Steps to Reproduce the Bug or Issue
Reproduced
Expected behavior
The context should be typed
Screenshots or Videos
Platform
@graphql-yoga/*
5.3.0Additional context
No.