For an extra layer of flavor, toast the walnuts lightly before adding them to the pinwheels. Ensure the compote is adequately cooled before spreading it onto the puff pastry to prevent it from becoming soggy. If you're short on time, you can use store-bought apricot jam or preserves as a substitute for the homemade compote. Adjust sweetness to taste. Feel free to experiment with different types of cheese, such as provolone or fontina, for a unique flavor profile. These pinwheels are best served warm, but they can also be enjoyed at room temperature.