GraphQL is an open-source data query and manipulation language for APIs, and a runtime for fulfilling queries with existing data. GraphQL was developed internally by Facebook in 2012 before being publicly released in 2015. On 7 November 2018, the GraphQL project was moved from Facebook to the newly-established GraphQL foundation, hosted by the non-profit Linux Foundation.
|Developer(s)||Facebook, and community|
It provides an efficient, powerful and flexible approach to developing web APIs, and has been compared and contrasted with REST and other web service architectures. It allows clients to define the structure of the data required, and exactly the same structure of the data is returned from the server, therefore preventing excessively large amounts of data from being returned, but this has implications for how effective web caching of query results can be. The flexibility and richness of the query language also adds complexity that may not be worthwhile for simple APIs.. It consists of a type system, query language and execution semantics, static validation, and type introspection.
GraphQL supports reading, writing (mutating) and subscribing to changes to data (realtime updates).
On 9 February 2018, the GraphQL Schema Definition Language (SDL) was made part of the specification.
- "GraphQL October2016 Release Notes". Retrieved January 16, 2018.
- "GraphQL: A query language for APIs".
- "GraphQL: A data query language".
- "Facebook's GraphQL gets its own open-source foundation". TechCrunch. Retrieved 2018-11-07.
- "The Linux Foundation Announces Intent to Form New Foundation to Support GraphQL - The Linux Foundation". The Linux Foundation. 2018-11-06. Retrieved 2018-11-07.
- "GraphQL vs REST: Overview". Phil Sturgeon. Retrieved 2018-11-25.
- "Why use GraphQL, good and bad reasons". Honest Engineering. 2018-08-04. Retrieved 2018-11-26.
- "GraphQL Fundamentals". Howto GraphQL. Retrieved 4 July 2018.
- "GraphQL". facebook.github.io. Facebook. Retrieved 4 July 2018.
- "GraphQL js".
- "Graphene". graphene-python.org. Retrieved 2017-06-18.
- "Absinthe: The GraphQL toolkit for Elixir". Retrieved 19 July 2018.
- "GraphQL SDL included in Github repository".