Sometimes a mutation retrieves a lot of data (for display) but only changes a field (the mutation).
The typical case is adding something to a playlist or favorites. Only the "favorite" field changes but the track name for an example is used in the UI.
Would be nice to allow writing "partial" data to the optimistic updates. Maybe using a Data Builder-like API.
Sometimes a mutation retrieves a lot of data (for display) but only changes a field (the mutation).
The typical case is adding something to a playlist or favorites. Only the "favorite" field changes but the track name for an example is used in the UI.
Would be nice to allow writing "partial" data to the optimistic updates. Maybe using a Data Builder-like API.