Skip to content

Instantly share code, notes, and snippets.

@SaraVieira
Created October 24, 2018 16:19
Show Gist options
  • Save SaraVieira/e256b641dc7aebfd53fc283236430309 to your computer and use it in GitHub Desktop.
Save SaraVieira/e256b641dc7aebfd53fc283236430309 to your computer and use it in GitHub Desktop.
const resolvers = {
Image: Image,
Query: {
image: () =>
"https://uploads.codesandbox.io/uploads/user/8d35d7c1-eecb-4aad-87b0-c22d30d12081/l2nh-cat.jpeg",
notImage: () => "https://codesandbox.io/s/4qlo54l7k9"
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment