1. 首页
  2. 数据库
  3. 其它
  4. graphql typescript:使用类型化类定义和构建GraphQL模式 源码

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

上传者: 2021-02-09 08:07:35上传 ZIP文件 50.62KB 热度 21次
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 { @
下载地址
用户评论