1. Top-level errors
No mutation ran, anddata is empty:
2. Result types
An
OperationError has these fields:
PatientPayload.patient, Order.patient and Order.organization can also be an OperationError. That means the call was processed, but that part couldn’t be read back.
3. Changes that weren’t applied
Each change inchanges has a status:
APPLIED: saved. Nothing to do, unless it’sADVISORY.REJECTED: fix the input thatreasondescribes. Skip entries that were rejected only because another input failed.AMBIGUOUS: choose one of theoptionsand resend.
Checklist
- If
errorsis present, stop and fix the token or query. - Branch on
__typename. Resend ambiguous matches with anid. On anOperationError, retry only whenretryableis true. - Resolve the changes that aren’t
APPLIEDand resend. - Show
ADVISORYchanges and screening alerts to the person responsible.