Skip to content

Commit

Permalink
Update packages/graphql-yoga/src/server.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan authored Feb 6, 2025
1 parent 38ecf93 commit 204b558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphql-yoga/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export class YogaServer<
...(options?.plugins ?? []),
// To make sure those are called at the end
{
onPluginInit: ({ addPlugin }) => {
onPluginInit({ addPlugin }) {
if (options?.parserAndValidationCache !== false) {
addPlugin(
// @ts-expect-error Add plugins has context but this hook doesn't care
Expand Down

0 comments on commit 204b558

Please sign in to comment.