
GraphQL? Here is what you need to know!
Syntax - Tasty Web Development Treats
00:00
The Advantages of Custom Resolvers on Types
Apollo and GraphQL system for having this API is not thinking of my data as well. Because of that, you can write these like custom resolvers on types that can do things for you essentially on the back end of your server call. You don't have to worry about fetching all of those different pieces on the client side. Or if you need to grab data from two or three different data sources,. Like, for example, maybe the coupons are just stored in a JS file or a JSON file. And it doesn't matter because you can reach into all of those things, whether it's memory and external API or my Database.
Play episode from 28:51
Transcript


