Skip to content

Instantly share code, notes, and snippets.

@abhiaiyer91
Last active July 8, 2018 19:16
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 abhiaiyer91/fa4f5bdb186902cf095ee38630ee6e65 to your computer and use it in GitHub Desktop.
Save abhiaiyer91/fa4f5bdb186902cf095ee38630ee6e65 to your computer and use it in GitHub Desktop.
export default {
Query: {
someOtherResolver: async (root, { jobId }, context) => {
const hiringManager = await binding.query.hiringManager({ jobId }, context);
return {
id: 'YOOOO',
hiringManager,
someOtherField: {
id: 'SUH DUDE',
}
};
},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment