Skip to content

Instantly share code, notes, and snippets.

@Chun-Yang
Created August 7, 2017 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Chun-Yang/6cbc7d085805f763746b53fef35e3c15 to your computer and use it in GitHub Desktop.
Save Chun-Yang/6cbc7d085805f763746b53fef35e3c15 to your computer and use it in GitHub Desktop.
import { makeExecutableSchema } from 'graphql-tools';
const typeDefs = `
type Query {
}
type Mutation {
}
`;
const resolvers = {
Query: {
},
Mutation: {
}
};
const graphqlSchema = makeExecutableSchema({
typeDefs,
resolvers,
});
export default graphqlSchema;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment