encyclopegia.org

GraphQL

GraphQL is a data query and manipulation language that allows specifying what data is to be retrieved ("declarative data fetching") or modified. A GraphQL server can process a client query using data from separate sources and present the results in a unified graph. The language is not tied to any specific database or storage engine. There are several open-source runtime engines for GraphQL.

GraphQL is a data query and manipulation language that allows specifying what data is to be retrieved ("declarative data fetching") or modified. A GraphQL server can process a client query using data from separate sources and present the results in a unified graph. The language is not tied to any specific database or storage engine. There are several open-source runtime engines for GraphQL. Fields are defined as nullable by default, and a trailing exclamation mark can be used to make a field non-nullable (required). A field can be defined as a list by wrapping the field's type in square brackets (for example, ). type Query { currentUser: User } type User { id: ID! name: String! } A GraphQL query defines the exact shape of the data needed by the client. query CurrentUser { currentUser { name age } } Once validated and executed by the GraphQL server, the data is returned in the same shape. { "currentUser": { "name": "John Doe", "age": 23 } } mutation CreateUser($name: String!, $age: Int!) { createUser(userName: $name, age: $age) { name age } } The variables are passed as an object with fields that match the variable names in the mutation. { "name": "Han Solo", "age": 42 } Once the operation is complete, the GraphQL server will return data matching the shape defined by the mutation. { "data": { "createUser": { "name": "Han Solo", "age": 42 } } } GraphQL also supports live updates sent from the server to client in an operation called a subscription. Again, the client defines the shape of the data that it needs whenever an update is made. subscription { newPerson { name age } } When a mutation is made through the GraphQL server that updates the associated field, data is sent to all subscribed clients in the format setup through the subscription. { "newPerson": { "name": "Jane", "age": 23 } }

References

  1. GraphQL · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "GraphQL." 2026-11-17. https://web.archive.org/web/20180718051011/http://facebook.github.io/graphql/June2018/#sec-Language.Operations. Accessed 24 November 2026.

    Chicago "GraphQL." 2026-11-17. https://web.archive.org/web/20180718051011/http://facebook.github.io/graphql/June2018/#sec-Language.Operations.

    APA encyclopegia.org. (2026). GraphQL. Retrieved November 24, 2026, from https://web.archive.org/web/20180718051011/http://facebook.github.io/graphql/June2018/#sec-Language.Operations

  2. Introduction to GraphQL · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "Introduction to GraphQL." 2026-11-17. https://graphql.org/learn/. Accessed 24 November 2026.

    Chicago "Introduction to GraphQL." 2026-11-17. https://graphql.org/learn/.

    APA encyclopegia.org. (2026). Introduction to GraphQL. Retrieved November 24, 2026, from https://graphql.org/learn/

  3. Execution · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "Execution." 2026-11-17. https://graphql.org/learn/execution/. Accessed 24 November 2026.

    Chicago "Execution." 2026-11-17. https://graphql.org/learn/execution/.

    APA encyclopegia.org. (2026). Execution. Retrieved November 24, 2026, from https://graphql.org/learn/execution/

  4. Thinking in Graphs | GraphQL · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "Thinking in Graphs | GraphQL." 2026-11-17. https://graphql.org/learn/thinking-in-graphs/#its-graphs-all-the-way-down. Accessed 24 November 2026.

    Chicago "Thinking in Graphs | GraphQL." 2026-11-17. https://graphql.org/learn/thinking-in-graphs/#its-graphs-all-the-way-down.

    APA encyclopegia.org. (2026). Thinking in Graphs | GraphQL. Retrieved November 24, 2026, from https://graphql.org/learn/thinking-in-graphs/#its-graphs-all-the-way-down

  5. Schemas and Types | GraphQL · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "Schemas and Types | GraphQL." 2026-11-17. https://graphql.org/learn/schema/. Accessed 24 November 2026.

    Chicago "Schemas and Types | GraphQL." 2026-11-17. https://graphql.org/learn/schema/.

    APA encyclopegia.org. (2026). Schemas and Types | GraphQL. Retrieved November 24, 2026, from https://graphql.org/learn/schema/

  6. Deviation Testing: A Test Case Generation Technique for GraphQL APIs · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "Deviation Testing: A Test Case Generation Technique for GraphQL APIs." Vargas, D. 2026-11-17. https://bergel.eu/MyPapers/Mene18a-GraphQL.pdf. Accessed 24 November 2026.

    Chicago "Deviation Testing: A Test Case Generation Technique for GraphQL APIs." Vargas, D. 2026-11-17. https://bergel.eu/MyPapers/Mene18a-GraphQL.pdf.

    APA Vargas, D. (2026). Deviation Testing: A Test Case Generation Technique for GraphQL APIs. Retrieved November 24, 2026, from https://bergel.eu/MyPapers/Mene18a-GraphQL.pdf

  7. Automatic Property-based Testing of GraphQL APIs · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "Automatic Property-based Testing of GraphQL APIs." Karlsson, Stefan; Causevic, Adnan; Sundmark, Daniel (May 2021). 2026-11-17. https://en.wikipedia.org/wiki/ArXiv_(identifier). Accessed 24 November 2026.

    Chicago "Automatic Property-based Testing of GraphQL APIs." Karlsson, Stefan; Causevic, Adnan; Sundmark, Daniel (May 2021). 2026-11-17. https://en.wikipedia.org/wiki/ArXiv_(identifier).

    APA Karlsson, Stefan; Causevic, Adnan; Sundmark, Daniel (May 2021). (2026). Automatic Property-based Testing of GraphQL APIs. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ArXiv_(identifier)

  8. GraphQL IDE Monorepo , GraphQL, 25 April 2023 , retrieved 25 April 2023 Wikipedia revision 1372636557, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "GraphQL IDE Monorepo , GraphQL, 25 April 2023 , retrieved 25 April 2023 Wikipedia revision 1372636557, retrieved 2026-11-18." GraphQL IDE Monorepo , GraphQL, 25 April 2023 , retrieved 25 April 2023 Wikipedia revision 1372636557, retrieved 2026-11. 2026-11-17. https://github.com/graphql/graphiql/blob/aeedf7614e422c783f5cfb5e226c5effa46318fd/packages/graphiql/README.md. Accessed 24 November 2026.

    Chicago "GraphQL IDE Monorepo , GraphQL, 25 April 2023 , retrieved 25 April 2023 Wikipedia revision 1372636557, retrieved 2026-11-18." GraphQL IDE Monorepo , GraphQL, 25 April 2023 , retrieved 25 April 2023 Wikipedia revision 1372636557, retrieved 2026-11. 2026-11-17. https://github.com/graphql/graphiql/blob/aeedf7614e422c783f5cfb5e226c5effa46318fd/packages/graphiql/README.md.

    APA GraphQL IDE Monorepo , GraphQL, 25 April 2023 , retrieved 25 April 2023 Wikipedia revision 1372636557, retrieved 2026-11. (2026). GraphQL IDE Monorepo , GraphQL, 25 April 2023 , retrieved 25 April 2023 Wikipedia revision 1372636557, retrieved 2026-11-18. Retrieved November 24, 2026, from https://github.com/graphql/graphiql/blob/aeedf7614e422c783f5cfb5e226c5effa46318fd/packages/graphiql/README.md

  9. Learn GraphQL Fundamentals with Fullstack Tutorial · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "Learn GraphQL Fundamentals with Fullstack Tutorial." 2026-11-17. https://www.howtographql.com/basics/0-introduction/. Accessed 24 November 2026.

    Chicago "Learn GraphQL Fundamentals with Fullstack Tutorial." 2026-11-17. https://www.howtographql.com/basics/0-introduction/.

    APA encyclopegia.org. (2026). Learn GraphQL Fundamentals with Fullstack Tutorial. Retrieved November 24, 2026, from https://www.howtographql.com/basics/0-introduction/

  10. GraphQL: A data query language · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "GraphQL: A data query language." 2026-11-17. https://code.fb.com/core-data/graphql-a-data-query-language/. Accessed 24 November 2026.

    Chicago "GraphQL: A data query language." 2026-11-17. https://code.fb.com/core-data/graphql-a-data-query-language/.

    APA encyclopegia.org. (2026). GraphQL: A data query language. Retrieved November 24, 2026, from https://code.fb.com/core-data/graphql-a-data-query-language/

  11. Facebook's GraphQL gets its own open-source foundation · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "Facebook's GraphQL gets its own open-source foundation." 2026-11-17. https://techcrunch.com/2018/11/06/facebooks-graphql-gets-its-own-open-source-foundation/. Accessed 24 November 2026.

    Chicago "Facebook's GraphQL gets its own open-source foundation." 2026-11-17. https://techcrunch.com/2018/11/06/facebooks-graphql-gets-its-own-open-source-foundation/.

    APA encyclopegia.org. (2026). Facebook's GraphQL gets its own open-source foundation. Retrieved November 24, 2026, from https://techcrunch.com/2018/11/06/facebooks-graphql-gets-its-own-open-source-foundation/

  12. The Linux Foundation Announces Intent to Form New Foundation to Support GraphQL · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "The Linux Foundation Announces Intent to Form New Foundation to Support GraphQL." 2026-11-17. https://www.linuxfoundation.org/press/press-release/intent_to_form_graphql. Accessed 24 November 2026.

    Chicago "The Linux Foundation Announces Intent to Form New Foundation to Support GraphQL." 2026-11-17. https://www.linuxfoundation.org/press/press-release/intent_to_form_graphql.

    APA encyclopegia.org. (2026). The Linux Foundation Announces Intent to Form New Foundation to Support GraphQL. Retrieved November 24, 2026, from https://www.linuxfoundation.org/press/press-release/intent_to_form_graphql

  13. GraphQL SDL included in Github repository · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "GraphQL SDL included in Github repository." 2026-11-17. https://github.com/facebook/graphql/pull/90/. Accessed 24 November 2026.

    Chicago "GraphQL SDL included in Github repository." 2026-11-17. https://github.com/facebook/graphql/pull/90/.

    APA encyclopegia.org. (2026). GraphQL SDL included in Github repository. Retrieved November 24, 2026, from https://github.com/facebook/graphql/pull/90/

  14. GraphQL Landscape · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "GraphQL Landscape." 2026-11-17. https://landscape.graphql.org/. Accessed 24 November 2026.

    Chicago "GraphQL Landscape." 2026-11-17. https://landscape.graphql.org/.

    APA encyclopegia.org. (2026). GraphQL Landscape. Retrieved November 24, 2026, from https://landscape.graphql.org/

  15. graphql-kit/graphql-apis , graphql-kit, 31 May 2025 , retrieved 5 June 2025 Wikipedia revision 1372636557, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "graphql-kit/graphql-apis , graphql-kit, 31 May 2025 , retrieved 5 June 2025 Wikipedia revision 1372636557, retrieved 2026-11-18." graphql-kit/graphql-apis , graphql-kit, 31 May 2025 , retrieved 5 June 2025 Wikipedia revision 1372636557, retrieved 202. 2026-11-17. https://github.com/graphql-kit/graphql-apis. Accessed 24 November 2026.

    Chicago "graphql-kit/graphql-apis , graphql-kit, 31 May 2025 , retrieved 5 June 2025 Wikipedia revision 1372636557, retrieved 2026-11-18." graphql-kit/graphql-apis , graphql-kit, 31 May 2025 , retrieved 5 June 2025 Wikipedia revision 1372636557, retrieved 202. 2026-11-17. https://github.com/graphql-kit/graphql-apis.

    APA graphql-kit/graphql-apis , graphql-kit, 31 May 2025 , retrieved 5 June 2025 Wikipedia revision 1372636557, retrieved 202. (2026). graphql-kit/graphql-apis , graphql-kit, 31 May 2025 , retrieved 5 June 2025 Wikipedia revision 1372636557, retrieved 2026-11-18. Retrieved November 24, 2026, from https://github.com/graphql-kit/graphql-apis

  16. GraphQL Conference 2025 · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "GraphQL Conference 2025." 2026-11-17. https://graphql.org/conf/2025. Accessed 24 November 2026.

    Chicago "GraphQL Conference 2025." 2026-11-17. https://graphql.org/conf/2025.

    APA encyclopegia.org. (2026). GraphQL Conference 2025. Retrieved November 24, 2026, from https://graphql.org/conf/2025

  17. GraphQL · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "GraphQL." a b "GraphQL". 2026-11-17. https://spec.graphql.org/October2021/. Accessed 24 November 2026.

    Chicago "GraphQL." a b "GraphQL". 2026-11-17. https://spec.graphql.org/October2021/.

    APA a b "GraphQL". (2026). GraphQL. Retrieved November 24, 2026, from https://spec.graphql.org/October2021/

  18. Schema Design | GraphQL · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "Schema Design | GraphQL." a b "Schema Design | GraphQL". 2026-11-17. https://graphql.org/learn/schema-design/#versioning. Accessed 24 November 2026.

    Chicago "Schema Design | GraphQL." a b "Schema Design | GraphQL". 2026-11-17. https://graphql.org/learn/schema-design/#versioning.

    APA a b "Schema Design | GraphQL". (2026). Schema Design | GraphQL. Retrieved November 24, 2026, from https://graphql.org/learn/schema-design/#versioning

  19. GraphQL September 2025 Release Notes · retrieved 2026-11-17 · rev 1372636557
    Cite this reference

    MLA "GraphQL September 2025 Release Notes." 2026-11-17. https://github.com/graphql/graphql-spec/releases/tag/September2025. Accessed 24 November 2026.

    Chicago "GraphQL September 2025 Release Notes." 2026-11-17. https://github.com/graphql/graphql-spec/releases/tag/September2025.

    APA encyclopegia.org. (2026). GraphQL September 2025 Release Notes. Retrieved November 24, 2026, from https://github.com/graphql/graphql-spec/releases/tag/September2025

Cite this article

MLA

"GraphQL." encyclopegia.org, 2026, https://encyclopegia.org/wiki/graphql. Accessed 24 November 2026.

Chicago

"GraphQL." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/graphql.

APA

encyclopegia.org. (2026). GraphQL. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/graphql

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Manjari (film)

enwiki · references available

José Agripino Maia

enwiki · references available

List of Xhosa kings

enwiki · references available

Jacques-Alphonse Mahul

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1372636557 · 0.5 · snapshot enwiki-001372636557

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.