GraphQL: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "{| | valign="top" | <source lang="json"> type Project { name: String tagline: String contributors: [User] } </source> | valign="top" | <source lang="json"> { project(...")
 
No edit summary
Line 28: Line 28:


|}
|}


==References==
==References==
* [https://graphql.org/ GraphQL]
* [https://graphql.org/ GraphQL]

Revision as of 04:33, 28 April 2020

type Project {
  name: String
  tagline: String
  contributors: [User]
}
{
  project(name: "GraphQL") {
    tagline
  }
}
{
  "project": {
    "tagline": "A query language for APIs"
  }
}

References