跳到正文
山月行
返回

源码分析

源码分析

源码

  1. 验证 Schema 的有效性
  2. 解析 Source(Operation)
  3. 执行

执行 execute

Query

executeFields(exeContext, rootType, rootValue, path, rootFields);

Mutation

executeFieldsSerially(exeContext, rootType, rootValue, path, rootFields);

Schema


分享本文:

上一篇
使用 GraphQL 构建 web 应用
下一篇
client-cache