fix-or-question: graphiql and dev
#146
-
gateway.config.ts import { defineConfig } from '@graphql-hive/gateway'
export const gatewayConfig = defineConfig({
port: 8080,
graphiql: true,
// ... other options are omitted for brevity
}) Let's say I execute this command. $ hive dev \
--service auth --url http://localhost:8081/graphql \
--service api --url http://localhost:8083/graphql \
--watch Then a successful message is printed out. ℹ Watch mode enabled
✔ Composition successful
Saving supergraph schema to supergraph.graphql
ℹ Watching for changes But there's no response when I access I also wonder about the API endpoint. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You're not running the Hive Gateway, only the Hive CLI. See "Starting the Gateway" in documentation. The command for running the gateway is |
Beta Was this translation helpful? Give feedback.
-
Thank you!! |
Beta Was this translation helpful? Give feedback.
You're not running the Hive Gateway, only the Hive CLI. See "Starting the Gateway" in documentation.
The command for running the gateway is
hive-gateway
. I don't know your full config, but I assume it should behive-gateway supergraph
.