Hi, I have a use case where I want to return errors as well as data from my GraphQL service. If I throw the error then it will just return errors and data is ignored. Do you know if there is a way to get both?
wow very usefull vid. Im building my first API with graphql and that was one of the first big problem i found, this solution is so clear rly apreciate what u did
Hi, I have a use case where I want to return errors as well as data from my GraphQL service. If I throw the error then it will just return errors and data is ignored. Do you know if there is a way to get both?
is there a any way to return errors with 500 http code
for the last solution, would you need to update your resolvers?
I believe not 🙂
Isn't http in an application layer?
thanks for this video. Very important subject. I'd personally would like to here more about this 😃
Happy to hear! I’ll do a follow up for sure 😄
Hey! What sort of soft you used in your video to explain and to paint that solution?
Hey, it's called Excalidraw :)
wow very usefull vid. Im building my first API with graphql and that was one of the first big problem i found, this solution is so clear rly apreciate what u did
Nice work!
Just when started to love graphql now I hate graphql
Oh no 😅
Thank you 💛
My pleasure, mate!
Your understanding of http error and application error is painful. 🤦🏿♀️🤦🏿♀️🤷🏿♀️🤷🏿♀️🤷🏿♀️
Why? 😢