Skip to main content

Usage

Description

Pushes new cache warmer operations to the registry. These manually added operations will have precedence over the operations computed based on latency.

Options

  • -n, --namespace : The namespace of the federated graph (Default: “default”).
  • -o, --operation-name <operation-name> : The name of the operation.
  • -f, --file <file> : The file containing the operation to push. Supports .graphql and .gql
  • -p, --persisted-operation-id <persisted-operation-id> : The ID of the persisted operation to be pushed.
If both a file and a persisted operation ID are provided, the persisted operation ID takes precedence.

Examples

Push an operation using a file:
Push an operation using a persisted operation ID: