Skip to content
mafeifan edited this page Feb 7, 2018 · 2 revisions

Scalars 标量数据类型

Scalars are primitive values: Int, Float, String, Boolean, or ID. When calling the GraphQL API, you must specify nested subfields until you return only scalars.

Interfaces 接口

Interfaces serve as parent objects from which other objects can inherit.

For example, Starrable is an interface because both Repository and Gist objects can be starred. An interface has its own list of named fields that are shared by implementing objects.

体验 GraphQL

https://developer.github.com/v4/explorer/

Clone this wiki locally