Skip to content

Instantly share code, notes, and snippets.

@chris001177
Created June 22, 2019 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris001177/794342cf232f056c211e0bd7dc77c7e3 to your computer and use it in GitHub Desktop.
Save chris001177/794342cf232f056c211e0bd7dc77c7e3 to your computer and use it in GitHub Desktop.
const resolvers = {
Query: {
getUser: async (_, __, { dataSources }) => dataSources.RandomUser.getUser()
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment