graphql-schema-generator-rest:从类型定义生成您的GraphQL模式

时间:2021-02-04 13:18:14
【文件属性】:
文件名称:graphql-schema-generator-rest:从类型定义生成您的GraphQL模式
文件大小:148KB
文件格式:ZIP
更新时间:2021-02-04 13:18:14
javascript graphql apollo-link GraphQL Rest GraphQL模式生成器 该软件包提供了从带有@rest指令注释的类型定义中生成GraphQL模式的功能。 安装 yarn add @n1ru4l/graphql-schema-generator-rest 用法 创建模式 import { generateRestSchema } from '@n1ru4l/graphql-schema-generator-rest' import { graphql } from 'graphql' import gql from 'graphql-tag' import fetch from 'node-fetch' const typeDe
【文件预览】:
graphql-schema-generator-rest-master
----.gitignore(92B)
----.babelrc(238B)
----package.json(2KB)
----src()
--------__tests__()
--------schema-generator.js(8KB)
----LICENSE(1KB)
----rollup.config.js(431B)
----examples()
--------express()
--------express-complex()
----.eslintrc.js(288B)
----scripts()
--------prepare-release.js(785B)
----README.md(6KB)
----.circleci()
--------config.yml(1KB)
----renovate.json(295B)
----.prettierrc(69B)
----yarn.lock(250KB)

网友评论