react-apollo v2.1.11 Release Notes
Release Date: 2018-08-09 // over 5 years ago-
- 🛠 Fixed an issue in
getDataFromTree
where queries that threw more than one error had error messages swallowed, and returned an invalid error object with circular references. Multiple errors are now preserved. @anand-sundaram-zocdoc in #2133 - ⚡️ Update both the
<Mutation />
component andgraphql
HOC to accept a newawaitRefetchQueries
prop (boolean). When set totrue
, queries specified inrefetchQueries
will be completed before the mutation itself is completed.awaitRefetchQueries
isfalse
by default, which meansrefetchQueries
are usually completed after the mutation has resolved. Relates to Apollo Client. PR #3169. @hwillson in #2214 - ⚡️ Typings adjustment: pass
TData
along intoMutationUpdaterFn
when usingMutationOpts
, to ensure that the updater function is properly typed. @danilobuerger in #2227 - Check if queryManager is set before accessing it. @danilobuerger in #2165
- 🛠 Fixed an issue in