Appearance
UpsertCapabilityPayload
Type: Object
Result of a capability create/update/upsert: either the persisted capability or the validation errors that prevented the write.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| capability | CapabilityState | The capability as persisted. Null when validation failed — see errors. | ||
| errors | [FieldError!]! | Field-level validation errors, e.g. path "code" with "code already exists in this tenant". Empty on success; when non-empty nothing was written. |