trojanowski / react-apollo-hooks

Use Apollo Client as React hooks
MIT License
2.41k stars 109 forks source link

Apollo client not handing Throw Error networkError eg.400,500 #207

Open shipcake opened 5 years ago

shipcake commented 5 years ago

hi. I use react-apollo-hook insert of HOC apollo client I found problem

when apollo server throw error code like 400,500 apollo client will receive message but not access error data,code and other I try use apollo-link-error. but nothing return anything from this.

below this picture https://ibb.co/qWkCGFf https://ibb.co/nsD5Z6H https://ibb.co/m5YL5bs https://ibb.co/kc1Sp0M

Nextjs 9 apollo-micro-server (/page/api/graphql) future in nextjs 9 to create server api same project