ProductionMu Mutation

inferOperations

Topics: Jobs

Infer the required production operations for a component. Provide either componentId or spec. When imposing config is provided, returns full production-grade DAG.

Returns

ImposedOperationResultOutput!

Arguments

What to infer operations for: either componentId (fetches the component, job and section) or an inline spec. Verticals may contribute extra fields (e.g. print's imposing config).

Exact field SDL
"""
Infer the required production operations for a component. Provide either componentId or spec. When imposing config is provided, returns full production-grade DAG.
"""
inferOperations(
  """
  What to infer operations for: either componentId (fetches the component, job and section) or an inline spec. Verticals may contribute extra fields (e.g. print's imposing config).
  """
  input: InferOperationsInput!
): ImposedOperationResultOutput! @topic(names: ["jobs"])

Declared on Mutation. Access is checked by the platform for each operation.