Skip to content

Commit c6045c6

Browse files
committed
feat: use hive lab instead of graphiql
1 parent e09de34 commit c6045c6

3 files changed

Lines changed: 13 additions & 2 deletions

File tree

packages/gateway/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
"@graphql-tools/load": "^8.1.6",
123123
"@graphql-tools/utils": "^11.0.0",
124124
"@graphql-yoga/render-graphiql": "^5.16.2",
125+
"@graphql-yoga/render-laboratory": "6.0.0-alpha-20260224195440-606378213714717778cf1abdc84dc9c07033300e",
125126
"@opentelemetry/api": "^1.9.0",
126127
"@opentelemetry/api-logs": "^0.212.0",
127128
"@opentelemetry/context-async-hooks": "^2.2.0",

packages/gateway/src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import type UpstashRedisCache from '@graphql-mesh/cache-upstash-redis';
2323
import type { JWTAuthPluginOptions } from '@graphql-mesh/plugin-jwt-auth';
2424
import type { PrometheusPluginOptions } from '@graphql-mesh/plugin-prometheus';
2525
import type { KeyValueCache, YamlConfig } from '@graphql-mesh/types';
26-
import { renderGraphiQL } from '@graphql-yoga/render-graphiql';
26+
import { renderLaboratory } from '@graphql-yoga/render-laboratory';
2727
import { getEnvBool, isDebug } from '~internal/env';
2828
import parseDuration from 'parse-duration';
2929
import { addCommands } from './commands/index';
@@ -277,7 +277,7 @@ export const defaultOptions = {
277277
: '0.0.0.0',
278278
port: 4000,
279279
pollingInterval: 10_000,
280-
renderGraphiQL,
280+
renderGraphiQL: renderLaboratory,
281281
};
282282

283283
/** Root cli for the gateway. */

yarn.lock

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4260,6 +4260,7 @@ __metadata:
42604260
"@graphql-tools/load": "npm:^8.1.6"
42614261
"@graphql-tools/utils": "npm:^11.0.0"
42624262
"@graphql-yoga/render-graphiql": "npm:^5.16.2"
4263+
"@graphql-yoga/render-laboratory": "npm:6.0.0-alpha-20260224195440-606378213714717778cf1abdc84dc9c07033300e"
42634264
"@opentelemetry/api": "npm:^1.9.0"
42644265
"@opentelemetry/api-logs": "npm:^0.212.0"
42654266
"@opentelemetry/context-async-hooks": "npm:^2.2.0"
@@ -5606,6 +5607,15 @@ __metadata:
56065607
languageName: node
56075608
linkType: hard
56085609

5610+
"@graphql-yoga/render-laboratory@npm:6.0.0-alpha-20260224195440-606378213714717778cf1abdc84dc9c07033300e":
5611+
version: 6.0.0-alpha-20260224195440-606378213714717778cf1abdc84dc9c07033300e
5612+
resolution: "@graphql-yoga/render-laboratory@npm:6.0.0-alpha-20260224195440-606378213714717778cf1abdc84dc9c07033300e"
5613+
peerDependencies:
5614+
graphql-yoga: ^5.18.1-alpha-20260224195440-606378213714717778cf1abdc84dc9c07033300e
5615+
checksum: 10c0/8310a12ab9cd1c46819428c620c42ea93e974c9c5e4b2942f4212f10b50a467b74271e635babc13becd58e37ab7ac60b02553330e5888bd1bd5877ad922528a8
5616+
languageName: node
5617+
linkType: hard
5618+
56095619
"@graphql-yoga/subscription@npm:^5.0.5":
56105620
version: 5.0.5
56115621
resolution: "@graphql-yoga/subscription@npm:5.0.5"

0 commit comments

Comments
 (0)