Related Post
यह chapter विभिन्न GraphQL components और उनके एक दूसरे के साथ communicate करने के तरीके पर discusses करता है। entire application components को distinguished के रूप में पहचाना जा सकता है -
GraphQL Server Side पर core component बनाता है और GraphQL client applications से आने वाले Question को parse करने की अनुमति देता है। Apollo Server GraphQL specification का सबसे अधिक इस्तेमाल किया जाने वाला implementation है। Other server programming components में निम्नलिखित शामिल हैं -
एक GraphQL Schema किसी भी GraphQL server implementation के center में होता है और इससे connect होने वाले Client के लिए उपलब्ध functionality को describe करता है।
एक GraphQL Query Database या legacy API's से Data retrieve करने के लिए Client Application Request है।
Resolver GraphQL Operation को Data में बदलने के लिए instructions प्रदान करते हैं। वे Resolver function को define करके Query को Data से हल करते हैं।
GraphQL queries और mutations के editing और testing के लिए Browser आधारित interface।
GraphQL Client Application बनाने के लिए सबसे अच्छा Tool। सभी javascript front-end के साथ अच्छी तरह से Integrates होता है।