jasonkuhrt / graphql-request

Minimal GraphQL client
MIT License
5.74k stars 307 forks source link

chore(deps): update dependency graphql-yoga to v5.6.0 #956

Closed renovate[bot] closed 4 days ago

renovate[bot] commented 4 days ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
graphql-yoga (source) 5.5.0 -> 5.6.0 age adoption passing confidence

Release Notes

dotansimha/graphql-yoga (graphql-yoga) ### [`v5.6.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#560) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.5.0...graphql-yoga@5.6.0) ##### Minor Changes - [#​3333](https://togithub.com/dotansimha/graphql-yoga/pull/3333) [`9f3f945`](https://togithub.com/dotansimha/graphql-yoga/commit/9f3f94522a9e8a7a19657efdd445a360ec244d55) Thanks [@​ardatan](https://togithub.com/ardatan)! - By default, Yoga does not allow extra parameters in the request body other than `query`, `operationName`, `extensions`, and `variables`, then throws 400 HTTP Error. This change adds a new option called `extraParamNames` to allow extra parameters in the request body. ```ts 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) ```

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.