You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{defineConfig}from'@graphql-hive/gateway'exportconstgatewayConfig=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 http://localhost:8080 or http://localhost:8080/graphql, etc.
I also wonder about the API endpoint.
Where should I send a request like POST for query and mutation or websocket for subscription?
Is it configurable?
(As far as I searched, there's no info from the docs.)
Thanks.
The text was updated successfully, but these errors were encountered:
gateway.config.ts
Let's say I execute this command.
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
http://localhost:8080
orhttp://localhost:8080/graphql
, etc.I also wonder about the API endpoint.
Where should I send a request like
POST
for query and mutation or websocket for subscription?Is it configurable?
(As far as I searched, there's no info from the docs.)
Thanks.
The text was updated successfully, but these errors were encountered: