The Pros and Cons of GraphQL

Nil Lenon
4 min readNov 1, 2022

What is the GraphQL API?

GraphQL is an open-source data query and manipulation language developed and released by Facebook in 2012.

Developed by Facebook to help them rebuild their native mobile apps and because they needed a data mining API that was powerful enough yet simple enough to be easy to learn and use.

GraphQL has since been made open source in 2015 and is now governed by the GraphQL Foundation to ensure that its development will be done in an open and neutral way.

Although GraphQL was originally developed specifically for mobile applications, its use has since spread to all types of development as an alternative to using REST APIs. It gives the power to define and structure the necessary data, which greatly reduces the number of API calls and ensures that the returned data is structured and contains only the requested information.

GraphQL ensures that a platform fetches exactly what is needed from the server.

The basis of GraphQL

To understand and use GraphQL, it is important to look at two elements: Schema and queries.

GraphQL : Schema

The system of typed schemas used in GraphQL is what makes everything it does possible. The GraphQL query…

--

--

Nil Lenon

A software specialist during the day and a side hustler during night. Writing about code, IT products, personal development and career tips.