Skip to content

fix: bump laboratory bundled graphql to ^16.14.0 - #8139

Closed
daniellongcake wants to merge 3 commits into
graphql-hive:mainfrom
daniellongcake:fix/laboratory-graphql-1614-invariant
Closed

fix: bump laboratory bundled graphql to ^16.14.0#8139
daniellongcake wants to merge 3 commits into
graphql-hive:mainfrom
daniellongcake:fix/laboratory-graphql-1614-invariant

Conversation

@daniellongcake

Copy link
Copy Markdown
Contributor

Background

The Laboratory schema explorer throws "Unexpected invariant triggered" and becomes unusable when connected to any GraphQL server running graphql-js 16.14+. graphql-js 16.14.0 added DIRECTIVE_DEFINITION to the introspection locations of the @deprecated directive (graphql/graphql-js#4521). The @graphql-hive/laboratory UMD bundle included graphql 16.12.0 which does not recognise this enum value, causing buildClientSchema to crash.

Description

Bumps the graphql devDependency in @graphql-hive/laboratory from ^16.12.0 to ^16.14.0.

Checklist

  • Testing

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the graphql dependency in packages/libraries/laboratory from ^16.12.0 to ^16.14.0 and includes the required changeset. No review comments were provided, and there is no feedback to address.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@mskorokhodov
mskorokhodov self-requested a review June 22, 2026 21:06
@mskorokhodov

mskorokhodov commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Thanks @daniellongcake! We've merged your changes with following PR:
#8167

We'll get it updated in gateway/console/router soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants