graphql型脚本 使用类型化类定义和构建GraphQL模式 import { Type , Field , Nullable , Mutation , String , Boolean , Int , makeSchema } from 'graphql-typescript' @ Type class Query { @ Field ( ( ) => Box ) box : Box } class UnboxArguments { @ Field ( ( ) => [ String ] ) tools : string [ ] } @ Type class Box { @