You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
就像 REST API 一样,在 GraphQL API 中,通常向入口端点传入参数,在 schema language 中定义参数,并自动进行类型检查。每一个参数必须有名字和数据类型。举个例子,在 [基础类型文档](/graphql-js/basic-types/) 中,我们定义了一个名为 `rollThreeDice` 的入口端点:
9
+
就像 REST API 一样,在 GraphQL API 中,通常向入口端点传入参数,在 schema language 中定义参数,并自动进行类型检查。每一个参数必须有名字和数据类型。举个例子,在 [基本类型文档](/graphql-js/basic-types/) 中,我们定义了一个名为 `rollThreeDice` 的入口端点:
0 commit comments