Instantly share code, notes, and snippets.

Embed
What would you like to do?
graphql/schema.js
const { buildSchema } = require('graphql');
const schema = buildSchema(`
 type Query {
  hello: String
 }
`);
module.exports = schema;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment