I was looking for some time now , for a simple explanation for graphQL and voila , thank you guys that's really helpful
@pawanjaiswal34234 жыл бұрын
Thank you guys..
@dancoman86 жыл бұрын
Finally back! GraphQL is pretty great. I do have a question if I may: is it possible to get the data from a graphql api exactly the way it is consumed on the client side? Lets say I mock all the data on the client, is it possible to build an api that provides the real data according to the mock data? Thank you, looking forward to many more videos.
@pragmaticstudio5 жыл бұрын
Sure, Dan. A GraphQL response is just JSON data in the same shape (structure) as the query itself.
@dancoman85 жыл бұрын
@@pragmaticstudio Thanks for the reply. I meant to say that people usually start building the api first. I was suggesting starting with the client first. My question was to know if this is a feasable approach :)