← All types
ProductionOb Object

UpsertCapabilityPayload

Result of a capability create/update/upsert: either the persisted capability or the validation errors that prevented the write.

Fields

The capability as persisted. Null when validation failed — see errors.

errors

[FieldError!]!Non-null

Field-level validation errors, e.g. path "code" with "code already exists in this tenant". Empty on success; when non-empty nothing was written.

Referenced by (3)
Exact type SDL
"""
Result of a capability create/update/upsert: either the persisted capability or the validation errors that prevented the write.
"""
type UpsertCapabilityPayload {
  """The capability as persisted. Null when validation failed — see errors."""
  capability: CapabilityState
  """
  Field-level validation errors, e.g. path "code" with "code already exists in this tenant". Empty on success; when non-empty nothing was written.
  """
  errors: [FieldError!]!
}