Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fix-graphql-1614-invariant.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-hive/laboratory": patch
---

Bump bundled `graphql` from `^16.12.0` to `^16.14.0` to fix "Unexpected invariant triggered" error in the schema explorer when introspecting servers running graphql-js 16.14+. graphql-js 16.14.0 added `DIRECTIVE_DEFINITION` to the `@deprecated` directive's introspection locations; the previously bundled 16.12.0 did not recognise this enum value, making the Laboratory unusable against any such server.
2 changes: 1 addition & 1 deletion packages/libraries/laboratory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.26",
"globals": "^16.5.0",
"graphql": "^16.12.0",
"graphql": "^16.14.0",
"lodash": "^4.18.1",
"lucide-react": "^0.548.0",
"lz-string": "^1.5.0",
Expand Down
Loading
Loading