// src/index.js
// ...
const Query = require('./resolvers/Query')
const Mutation = require('./resolvers/Mutation')
const resolvers = {
Query,
Mutation
}
const server = new GraphQLServer({
// ...
view raw index.js hosted with ❤ by GitHub