release-1719831736592
版本发布时间: 2024-07-01 19:02:16
dotansimha/graphql-yoga最新发布版本:release-1723761948464(2024-08-16 06:45:48)
@graphql-yoga/apollo-link@3.6.0
@graphql-yoga/urql-exchange@3.6.0
graphql-yoga@5.6.0
Minor Changes
-
#3333
9f3f945
Thanks @ardatan! - By default, Yoga does not allow extra parameters in the request body other thanquery
,operationName
,extensions
, andvariables
, then throws 400 HTTP Error. This change adds a new option calledextraParamNames
to allow extra parameters in the request body.import { createYoga } from 'graphql-yoga' const yoga = createYoga({ /* other options */ extraParamNames: ['extraParam1', 'extraParam2'] }) const res = await yoga.fetch('/graphql', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ query: 'query { __typename }', extraParam1: 'value1', extraParam2: 'value2' }) }) console.assert(res.status === 200)
@graphql-yoga/nestjs@3.6.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/nestjs-federation@3.6.0
Patch Changes
- Updated dependencies []:
- @graphql-yoga/nestjs@3.6.0
- @graphql-yoga/plugin-apollo-inline-trace@3.6.0
@graphql-yoga/plugin-apollo-inline-trace@3.6.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/apollo-managed-federation@0.3.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/plugin-apq@3.6.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/plugin-csrf-prevention@3.6.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/plugin-defer-stream@3.6.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/plugin-disable-introspection@2.6.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/plugin-graphql-sse@3.6.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/plugin-jwt@2.6.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/plugin-persisted-operations@3.6.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/plugin-prometheus@5.3.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/plugin-response-cache@3.8.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/plugin-sofa@3.6.0
Patch Changes
- Updated dependencies
[
9f3f945
]:
@graphql-yoga/render-graphiql@5.6.0
Patch Changes
- Updated dependencies
[
9f3f945
]: