Appearance
UpsertProductionPlanPayload
Type: Object
Result of a production-plan write: either the persisted plan with its children, or the validation errors that rejected it.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| edges | [PlannedEdgeState!] | The plan's newly written dependency edges, with the index-based references resolved to planned-operation TypeIDs. Null when the write was rejected, and on updateProductionPlan when the update left the existing edges untouched. | ||
| errors | [FieldError!]! | Field-level validation errors (paths such as plannedOperations[0].name or edges), including DAG violations. Empty on success; when non-empty the whole write was rejected and no changes were persisted. | ||
| plannedOperations | [PlannedOperationState!] | The plan's newly written production steps, with their server-issued ids. Null when the write was rejected, and on updateProductionPlan when the update left the existing steps untouched. | ||
| productionPlan | ProductionPlanState | The written plan, or null when the write was rejected — in which case errors is non-empty and nothing was persisted. |