Query

Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.

Connections

articles (ArticleConnection!)

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

tag String

Fields

article (Article)
Argument Type Description
slug String!
tags ([String!]!)
user (User)
Argument Type Description
username String!
viewer (Viewer)