graphql server:设计用于typegraphql的简单graphql服务器 源码
graphql服务器 一个设计用于typegraphql的简单graphql服务器。 用法 import { Server } from '@txstate-mws/graphql-server' import { MyModel1Resolver } from './mymodel1' import { MyModel2Resolver } from './mymodel2' const server = new Server ( { ... fastify configuration } ) server . start ( { resolvers : [ MyModel1Resolver , MyModel2Resolver ] , gqlEndpoint : '/graphql' , playgroundEndpoint : '/' } ) . catch ( e =>
文件列表
graphql-server-main.zip
(预估有个16文件)
graphql-server-main
.eslintrc.json
367B
.gitignore
2KB
package.json
2KB
package-lock.json
261KB
src
server.ts
3KB
service.ts
758B
errors.ts
1KB
context.ts
2KB
暂无评论