Created
April 20, 2019 10:30
-
-
Save shailen-naidoo/3470cfa0df28732f318af91293be469c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { gql } = require('apollo-server-express'); | |
const Schema = gql` | |
type Query { | |
person: Person! | |
} | |
type Person { | |
name: String! | |
surname: String! | |
} | |
`; | |
module.exports = { Schema }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment