title: Nested Query GraphQl
body: <p>I am new using graphql and I would like to know how could I filter my query to get the recipes that has some of the ingredient objects I have in my input array.</p>
  <p>this is the schema.gql file</p>
  <pre><code>type Recipe {
    id: Int
    title: String!
    author: String
    link: String
    category: String
    subcategory:String
    ingredients:[Ingredients]
  }
  
  type Ingredients{
      id:Int
      name:String!
      quantity:Float!
      measure:String
      observation:String
    }
  
  type Query {
    recipe: [Recipe]
    ingredient:[Ingredients]
  }
  </code></pre>
  <p>this recipe schema has 1 respective service</p>
  <pre><code>const db = require('../db')
  
  class RecipeService{
    //PENDENTE FINALIZAR ESSA SERVICE
    async getRecipeByIngredient(ingredient)
  }
  </code></pre>
  <p>and the respective Query resolvers</p>
  <pre><code> Recipe: {
      async ingredients(recipe, _, { dataSources }) {
        return await dataSources.IngredientService.getRecipeIngredients(recipe.id)
      },
    },
    Query: {
      recipe: async () =&gt; db('Recipe'),
      ingredient: async () =&gt; db('Ingredient'),
    }
  </code></pre>
  <p>the main idea here is just to have one filter that can see what recipe has some ingredients that the user will inform via APP.</p>
  <p>I got the &quot;recipe&quot; query with all the recipes that I have at the database, but I need a query that get these recipes and filter then using the field ingredient, for example:</p>
  <ol>
  <li>Recipe - Sugar Cake with the ingredients: Sugar, Honey, Four...</li>
  <li>Recipe - Velvet Cake with the ingredients: Sugar, Vanilla, ...</li>
  </ol>
  <p>and the user inform Sugar, the API should return theses 2 recipes, but if the user inform Sugar, Honey and Four, the API would return only the option 1.</p>
  <p>can anyone help me on it?</p>
  <p>thanks a lot.</p>