Schemas =>
const path = require('path')
const mergeGraphqlSchemas = require('merge-graphql-schemas')
const files = path.join(__dirname, './')
const {
fileLoader,
mergeTypes
} = mergeGraphqlSchemas
const filesLoader = fileLoader(files)
const schemas = mergeTypes(filesLoader)
module.exports = schemas
Resolvers =>
const path = require('path')
const mergeGraphqlSchemas = require('merge-graphql-schemas')
const { fileLoader } = mergeGraphqlSchemas;
const files = path.join(__dirname, './');
const filesLoarders = fileLoader(files);
module.exports = filesLoarders;