Created
July 17, 2019 13:06
-
-
Save bartcis/875f872dca72fe344039c1a142623170 to your computer and use it in GitHub Desktop.
Simple resolvers for GraphQL
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 resolvers = { | |
Query: { | |
books: () => api.books, | |
countries: () => api.countries | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment