Move - WunderGraph

Usage

npx wgc subgraph move <name> -n fromNS -t toNS

Moving is an irreversible action. Only federated graphs from the target namespace are respected. However, the change will only be visible to the routers once the composition has been successful. Until then, the routers will operate with the most recent valid composition.

Description

The npx wgc subgraph move command allows you to move a subgraph into a different namespace.

Parameters

Options

Example

npx wgc subgraph move products -n default -t production