Skip to content

Instantly share code, notes, and snippets.

@Chun-Yang
Created August 7, 2017 19:30
Show Gist options
  • 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