Preheat the oven to 350oF and spray a 9×11-inch casserole dish and a standard-size baking sheet with cooking spray. Set aside.
First, prepare onions. Whisk together one egg and 2 tablespoons of water in a large bowl. In a separate bowl, mix together chickpea crumbs, parmesan, salt, and pepper.
Then, slice 2 large onions. Add sliced onions to the egg mixture. Stir mixture until all of the onions are coated with egg.
Pour the breadcrumb mixture on top of the onions and gently fold everything together.
Spread onions out onto a baking sheet and set aside.
Next, prepare green bean casserole. Heat a large saucepan over medium/high heat. Add olive oil. When olive oil is fragrant, add mushrooms and 1/8 teaspoon of salt and sauté for 4-6 minutes. Remove from heat and transfer mushrooms into a separate bowl. Set aside.
In the same saucepan, prepare the roux. Melt butter over medium/high heat. Add flour to butter and mix until a paste is created.
Slowly add milk while continually whisking the milk, butter, and flour together. Whisk until mixture is thick. Remove from heat.
Add broth, cooked mushrooms, and the last 1/8 teaspoon of salt to the roux and mix well.
Place uncooked green beans into the casserole dish and then pour the roux over green beans and toss so that the beans are coated.
Place both the green bean casserole and onions in the oven at the same time.
Bake at 350oF for 20 minutes. Then toss the onions and bake for an additional 20 more
minutes.
Remove casserole from oven and then turn the oven to high broil. Broil the onions for
3-5 minutes for extra crispy onions*.
Once onions are crunchy, use a spatula to gently transfer onions on top of the green
bean casserole.