graphql typescript:使用类型化类定义和构建GraphQL模式 源码

上传:qqdisabled18838 浏览: 19 推荐: 0 文件:ZIP 大小:50.62KB 上传时间:2021-02-09 08:07:35 版权申诉
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 { @
上传资源
用户评论