Posts

Showing posts with the label GraphQL

GraphQL represents a giant leap forward in the world of APIs - From REST to GraphQL

Image
"As a significant departure from the REST API, GraphQL requires some not-so-subtle shifts in the way we think about consuming and altering data."  - Mark,Matt Platform engineers GitHub Issues with REST: REST APIs are designed to interact with one specific end point at a time. For example, you can get a list of all your issues on GitHub, but you can’t get a list of issues and the comments on those issues at the same time. This means you often need to make more than one “request” to the API to get the exact information you need. REST API results are determined by the API developer, and they want to make sure you have everything you could possibly want. This often means you are getting way more information than you intend to use. GraphQL is a  more flexible query structure, which allows you to request information based on connections across traditional data points. Running Your First GraphQL Query Navigate to the GraphQL explorer . Once the page ...