In a medium mixing bowl, combine the butter and sugar. Whisk until the mixture is light and fluffy.
Mix in the egg, sourdough discard, yogurt, and vanilla extract until everything is well incorporated.
Gradually add the white flour, whole grain flour, spices, salt, and baking powder, ensuring there are no clumps remaining in the batter.
Fold in your shredded carrots, soaked raisins, and optional additional ingredients.
Fermentation Option: At this point, you can either let the batter ferment in the fridge overnight (8+ hours) for enhanced flavour and digestive benefits or proceed directly to baking.
When you're ready to bake, preheat your oven to 350°F (175°C).
Grease a 9-inch pie dish with butter or lard and lightly flour it to create a non-stick surface.
Pour the batter into the prepared dish, spreading it evenly. Be patient, as the batter will be thick.
Bake for about 45 minutes, or until the crust is golden and a toothpick inserted into the centre comes out clean.
Allow the cake to cool completely while you make your maple cream cheese frosting*.
Once your cake is completely cooled, top it with your homemade cream cheese frosting and spread it around evenly. Serve right away or store in the fridge for later!