Skip to content

fix: do not allow reserved context keys in ServerContext or UserContext #5723

fix: do not allow reserved context keys in ServerContext or UserContext

fix: do not allow reserved context keys in ServerContext or UserContext #5723

Triggered via pull request May 9, 2024 14:13
Status Failure
Total duration 4m 34s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 9 warnings
alpha / snapshot: packages/graphql-yoga/__tests__/context.spec.ts#L42
Type 'GraphQLSchemaWithContext<YogaInitialContext & UserContext>' is not assignable to type 'YogaSchemaDefinition<{}, ContextBase> | undefined'.
alpha / snapshot: packages/graphql-yoga/__tests__/context.spec.ts#L43
Type 'UserContext' is not assignable to type 'ContextBase | Promise<ContextBase> | ((initialContext: YogaInitialContext) => ContextBase | Promise<ContextBase>) | undefined'.
alpha / snapshot: packages/graphql-yoga/__tests__/context.spec.ts#L70
Type 'GraphQLSchemaWithContext<YogaInitialContext & UserContext>' is not assignable to type 'YogaSchemaDefinition<{}, ContextBase> | undefined'.
alpha / snapshot: packages/graphql-yoga/__tests__/context.spec.ts#L71
Type 'UserContext' is not assignable to type 'ContextBase | Promise<ContextBase> | ((initialContext: YogaInitialContext) => ContextBase | Promise<ContextBase>) | undefined'.
alpha / snapshot: packages/graphql-yoga/__tests__/context.spec.ts#L106
Type 'GraphQLSchemaWithContext<YogaInitialContext & UserContext>' is not assignable to type 'YogaSchemaDefinition<{}, ContextBase> | undefined'.
alpha / snapshot: packages/graphql-yoga/__tests__/context.spec.ts#L107
Type 'UserContext' is not assignable to type 'ContextBase | Promise<ContextBase> | ((initialContext: YogaInitialContext) => ContextBase | Promise<ContextBase>) | undefined'.
alpha / snapshot
The process '/home/runner/setup-pnpm/node_modules/.bin/pnpm' failed with exit code 1
release-candidate / snapshot: packages/graphql-yoga/__tests__/context.spec.ts#L42
Type 'GraphQLSchemaWithContext<YogaInitialContext & UserContext>' is not assignable to type 'YogaSchemaDefinition<{}, ContextBase> | undefined'.
release-candidate / snapshot: packages/graphql-yoga/__tests__/context.spec.ts#L43
Type 'UserContext' is not assignable to type 'ContextBase | Promise<ContextBase> | ((initialContext: YogaInitialContext) => ContextBase | Promise<ContextBase>) | undefined'.
release-candidate / snapshot: packages/graphql-yoga/__tests__/context.spec.ts#L70
Type 'GraphQLSchemaWithContext<YogaInitialContext & UserContext>' is not assignable to type 'YogaSchemaDefinition<{}, ContextBase> | undefined'.
release-candidate / snapshot: packages/graphql-yoga/__tests__/context.spec.ts#L71
Type 'UserContext' is not assignable to type 'ContextBase | Promise<ContextBase> | ((initialContext: YogaInitialContext) => ContextBase | Promise<ContextBase>) | undefined'.
release-candidate / snapshot: packages/graphql-yoga/__tests__/context.spec.ts#L106
Type 'GraphQLSchemaWithContext<YogaInitialContext & UserContext>' is not assignable to type 'YogaSchemaDefinition<{}, ContextBase> | undefined'.
release-candidate / snapshot: packages/graphql-yoga/__tests__/context.spec.ts#L107
Type 'UserContext' is not assignable to type 'ContextBase | Promise<ContextBase> | ((initialContext: YogaInitialContext) => ContextBase | Promise<ContextBase>) | undefined'.
release-candidate / snapshot
The process '/home/runner/setup-pnpm/node_modules/.bin/pnpm' failed with exit code 1
alpha / snapshot
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: the-guild-org/changesets-snapshot-action@v0.0.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
alpha / snapshot
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
alpha / snapshot
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
alpha / snapshot
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
dependencies / changeset
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: the-guild-org/changesets-dependencies-action@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
release-candidate / snapshot
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: the-guild-org/changesets-snapshot-action@v0.0.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
release-candidate / snapshot
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
release-candidate / snapshot
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
release-candidate / snapshot
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/