Extensions
Extensions
graphql
Extensions
extensions/graphql.md

graphql

Any GraphQL API from the back end: a query and its variables, data or the errors as failures with a kind, an answer in part, a connection page by page by its cursor. github and linear are made on it. The whole of it is docs/graphql.md.

text
use "pkg:graphql/graphql.mote"
let d = graphql(url, "query($id: ID!) { node(id: $id) { id } }", {id}, {bearer: token})?
let all = graphqlAll(url, query, {}, "repository.issues", 500, {bearer: token})?
File
graphql.motegraphql, graphqlAnswer, graphqlPage, graphqlAll, graphqlAt, the shapes.
tests.moteIts tests (tests/svc_code/unit.mote).

Covered: queries and mutations over POST with JSON, a bearer or any header, errors read (code from extensions.code or type, path), kinds (graphql, auth, limited, server, invalid, offline), a query asked again on 429 and a mutation never, nodes or edges connections by $after.

Left out on purpose: subscriptions, persisted and batched queries, uploads, introspection and typed schemas.

Edit this page:extensions/graphql/README.md
On this page
esc
1072 sections of 111 pages, ranked as you type.A heading's words count for more than what stands under it.
↑↓move
↵open
ranked by BM25, in the page