Fix - WunderGraph

Usage

npx wgc subgraph fix <name> --schema <path-to-schema> --out-schema <path-to-out-schema>

Description

The npx wgc subgraph fix command checks for composition errors in all connected federated graphs associated with the specified subgraph and then tries to fix those errors. The output of the fix can be written to the file path provided.

Parameters

Required Options

Options

Example

npx wgc subgraph fix products --schema ../demo/subgraphs/products/products.graphql --out-schema ../demo/subgraphs/products/products-fix.graphql

Notes