Here are the main breaking changes between the 0.x and 1.0 versions of Apollo Client.
The structure of fetchMoreResult
has been changed. Previously fetchMoreResult
used to contain data
and loading
fields, now fetchMoreResult
is what fetchMoreResult.data
used to be. This means your updateQueries
function has to change as follows:
updateQuery: (prev, { fetchMoreResult }) => {