Skip to main content
Version: v3.x (DDN)

DDN CLI: ddn codemod configure-header-forwarding

Configure headers to be forwarded to your connector.

Synopsis

Configure headers to be forwarded to your connector

ddn codemod configure-header-forwarding connector-name [flags]

Examples

# Configure header forwarding for the DataConnectorLink corresponding to Connector `mypostgres`
ddn codemod configure-header-forwarding mypostgres

# Configure header forwarding for the DataConnectorLink corresponding to Connector config file ./connector.yaml
ddn codemod configure-header-forwarding --connector ./connector.yaml

# Configure header forwarding for the DataConnectorLink `mypostgres`
ddn codemod configure-header-forwarding --connector-link mypostgres

Options

    --connector string        Path to Connector config file
--connector-link string Name of the DataConnectorLink to configure
-h, --help help for configure-header-forwarding
--subgraph string Path to Subgraph config file

Options inherited from parent operations

--log-level string   Log level. Can be DEBUG, WARN, INFO, ERROR, or FATAL. (default "INFO")
--no-prompt Do not prompt for required but missing flags
--out string Output format. Can be table, json or yaml. (default "table")
--timeout int Request timeout in seconds [env: HASURA_DDN_TIMEOUT] (default 100)

Parent operation

  • ddn codemod - Perform transformations on your Hasura project directory