1.0.0 • Published 7 years ago
graphql-module-loader v1.0.0
graphql-module-loader
how to use
import { makeExecutableSchema } from 'graphql-tools';
import { loader } from '../../lib/graphql-module-loader';
import * as path from 'path';
const res = loader(path.resolve(__dirname, './test'));
export const schema = makeExecutableSchema(res)
1.0.0
7 years ago