Preheat the oven to 350°F (175°C). Grease a 9x9-inch baking dish.
Melt 1/4 cup (55 g) of butter in a large skillet over medium heat. Add the diced onion and cook for 5 minutes until soft.
Add the sliced mushrooms to the skillet. Cook for 5 to 6 minutes until they soften and turn golden brown.
Turn the heat down to medium-low. Whisk in the flour and cook for 1 minute.
Slowly pour in the chicken stock and whole milk while whisking constantly. Simmer for 3 to 5 minutes until the sauce thickens enough to coat the back of a spoon.
Remove the skillet from the heat. Stir in the Gruyere cheese, cooked shredded chicken, cooked wild rice, salt, and black pepper until well combined.
Pour the chicken and rice mixture into the prepared baking dish.
In a small bowl, toss the fresh breadcrumbs with the 2 tablespoons (30 g) of melted butter and the Parmesan cheese. Sprinkle this mixture evenly over the casserole.
Bake uncovered for 35 to 40 minutes until the edges bubble and the top is golden. If using freshly cooked chicken, ensure the meat reaches an internal temperature of 165°F (74°C) before serving.