← API reference
CANONICAL TYPE REFERENCE

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.

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.

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.

View exact 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!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.