Created
July 20, 2016 18:04
-
-
Save callmephilip/5eaece7d7183cda5d4b39fc3825c4176 to your computer and use it in GitHub Desktop.
This file contains 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 RootQuery = { | |
type: new GraphQLList(TodoSchemaType), | |
resolve: (_, args, sessionToken) => { | |
const query = new Parse.Query(Todo); | |
return query.find({ sessionToken }); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment