Preheat your oven to 375°F (190°C).
In a pan, heat olive oil over medium heat. Add onions and garlic, sauté until soft.
Toss in the shredded chicken, peas, carrots, and corn. Stir and warm it all up.
Pour in chicken broth and cook until slightly reduced, about 3-5 minutes.
In a mixing bowl, whisk together eggs, milk, flour, baking powder, salt, and pepper.
Transfer the chicken mixture to a greased 9-inch pie dish.
Pour the egg mixture evenly over the top.
Bake for 30-35 minutes, or until golden and set in the center.
Let cool for 5-10 minutes before slicing. Serve warm.