Preheat oven to 375 degrees F and lightly coat an 8×8 baking dish with cooking spray. In a large bowl, combine oats, spices, and sugar and mix well. In a separate bowl, crack in eggs and beat well. Add in milk, maple syrup, vanilla, and coconut oil and whisk to combine. Pour the wet ingredients into the dry ingredients and stir until just mixed. Fold in the cranberries, walnuts, and diced apple.