February 06, 2025
·
92 commits
to main
since this release
@graphql-yoga/[email protected]
@graphql-yoga/[email protected]
[email protected]
Minor Changes
-
#3727
5fd15b8
Thanks @EmrysMyrddin! - Allow to configure the endpoint used by
GraphiQL to send requests. -
#3736
d13b8a4
Thanks @ardatan! - Now it is possible to replace or wrap the logic
howGraphQLParams
handled;By default Yoga calls Envelop to handle the parameters, but now you can replace it with your own
logic.Example: Wrap the GraphQL handling pipeline in an
AsyncLocalStorage
function myPlugin(): Plugin { const context = new AsyncLocalStorage(); return { onParams({ paramsHandler, setParamsHandler }) { const store = { foo: 'bar' } setParamsHandler(payload => context.run(store, paramsHandler, payload)) } }
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies []:
- @graphql-yoga/[email protected]
- @graphql-yoga/[email protected]
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
@graphql-yoga/[email protected]
Patch Changes
- Updated dependencies
[5fd15b8
,
d13b8a4
]:- [email protected]
- @graphql-yoga/[email protected]