GraphQL @default指令 新TypeScript库的快速入门模板 安装 npm i @codexteam/graphql-directive-default # OR via yarn yarn add @codexteam/graphql-directive-default 如何使用 导入库 import createDirectiveDefault from '@codexteam/graphql-directive-default' ; 将指令添加到schemaTransforms const schema = makeExecutableSchema ( { t