Skip to content

Instantly share code, notes, and snippets.

@sarahsweat
Created June 7, 2019 17:45
Show Gist options
  • Save sarahsweat/32782d9aa314652b2d1a8a677336d2df to your computer and use it in GitHub Desktop.
Save sarahsweat/32782d9aa314652b2d1a8a677336d2df to your computer and use it in GitHub Desktop.
export const GET_RECIPE = gql`
query Search($id: String!) {
search(q: $id, brand: FOOD, types: RECIPE) {
results {
...on Recipe {
id
title
directions
ingredients
bylines {
id
title
imageUrl
}
image {
id
title
url
}
}
}
}
}
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment