Introspect - WunderGraph

Usage

npx wgc subgraph introspect --routing-url [url] --header [headers...]

Description

The npx wgc subgraph introspect command allows you to introspect a subgraph and returns the schema of the subgraph.

Options

Example

  1. Introspect a subgraph with routing URL “ http://localhost:4001/graphql”:
npx wgc subgraph introspect --routing-url http://localhost:4001/graphql