Line a deep 9-inch pie plate with parchment paper and set aside. Preheat oven to 350º F.
Heat a skillet over medium heat. Add olive oil, garlic and chopped onion. Saute for about 7 minutes, until fragrant and translucent.
Add the zucchini into the skillet, and stir fry for another 5 minutes, until softened. Season with 1/2 teaspoon of salt and black pepper to taste.
In a large bowl, whisk the eggs. Add the heavy whipping cream, ricotta, mozzarella cheese, and 2 tablespoons of parmesan cheese, along with 1 teaspoon of sea salt and black pepper to taste. Whisk until smooth.
Add 2/3 of the zucchini mixture into the bottom of the pie plate, and form an even layer.
Top the zucchini mixture with a little egg mixture and spoon over 2 tablespoons of pesto, swirling into the egg.
Add the rest of the egg mixture, then top with the remaining zucchini. Sprinkle the top with the remaining pesto and parmesan cheese.
Cover with foil tightly, and bake for 55 minutes. Remove foil, and continue to bake for an additional 10 minutes, until lightly browned and fully set in the center. Allow to cool for at least 10 minute prior to slicing and serving.