Roast the Sweet Potatoes
Preheat the oven to 400°F. Wash the sweet potatoes, pat them dry, and poke a few holes in them with a fork. Place them on a parchment-lined baking tray and roast until fork-tender, about 1 hour.
Prepare the Filling
Once the sweet potatoes are soft and cool enough to handle, peel off the skin and transfer the flesh to a large mixing bowl. Reduce the oven temperature to 350°F.
Mix the Ingredients
Add the melted butter, vanilla extract, shredded coconut, cardamom, coconut sugar, eggs, and oat flour to the bowl. Mash everything together using a potato masher or a hand mixer. A hand mixer will create a fluffier texture by incorporating air into the filling.
Assemble the Casserole
Lightly spray a small casserole dish with nonstick spray, such as avocado oil. Spread the sweet potato filling evenly in the dish.
Prepare the Topping
In a separate bowl, mix together the crushed pecans, oat flour, melted butter, and coconut sugar. Evenly distribute the topping over the sweet potato filling.
Bake to Perfection
Bake uncovered at 350°F for 30 minutes or until the topping is golden brown and crispy.
Cool and Serve
Let the casserole cool for at least 15 minutes before serving. Enjoy warm, and don’t forget—the leftovers taste amazing hot or cold!