In reference to apollo-client
ticket #2703.
Related tickets:
Refetching a query in componentDidMount
whose resolver throws an error
does not result in that error appearing in props.data.error
. That value
seems to always be undefined.
yarn
yarn start
- Go to
http://localhost:3000
- Open the browser console
shared/Cart.jsx
server/resolvers.js
apollo-cache-inmemory@^1.1.3
apollo-client@^2.1.0
apollo-link-http^1.3.0
graphql@^0.11.7
[email protected]
graphql-tag@^2.6.0
graphql-tools@^2.12.0
react-apollo@^2.0.1