index.js 234 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 11 12 const postsResolvers = require("./posts"); const usersResolvers = require("./users"); module.exports = { Query: { ...postsResolvers.Query }, Mutation: { ...usersResolvers.Mutation, ...postsResolvers.Mutation } };