While the dough is resting, prepare the filling: cut the onion into small cubes, peel the apples and cut them too. Fry the onion in butter, add the apples, put out for a couple of minutes so that they become soft. It’s done.
Grate the cheese on a coarse grater.