← All types
ProductionOb Object

UpsertOperationGraphPayload

Result of any operation-edge mutation: either the persisted edges or the validation errors that prevented the write. The two are mutually exclusive — writes are all-or-nothing.

Fields

The edges written on success: the job's full edge set for upsertOperationGraph, or the single affected edge for createOperationEdge/updateOperationEdge. Null when errors is non-empty and nothing was persisted.

errors

[FieldError!]!Non-null

Field-level validation errors; empty on success. Paths point at the offending input (e.g. edges[2].predecessorId), with graph-wide failures such as cycles reported on edges.

Referenced by (3)
Exact type SDL
"""
Result of any operation-edge mutation: either the persisted edges or the validation errors that prevented the write. The two are mutually exclusive — writes are all-or-nothing.
"""
type UpsertOperationGraphPayload {
  """
  The edges written on success: the job's full edge set for `upsertOperationGraph`, or the single affected edge for `createOperationEdge`/`updateOperationEdge`. Null when `errors` is non-empty and nothing was persisted.
  """
  edges: [OperationEdgeState!]
  """
  Field-level validation errors; empty on success. Paths point at the offending input (e.g. `edges[2].predecessorId`), with graph-wide failures such as cycles reported on `edges`.
  """
  errors: [FieldError!]!
}