For the spaetzle, knead flour, eggs, salt, nutmeg and 100 ml water with the dough hooks of the hand mixer to a firm dough. Let it rest for about 20 minutes. In the meantime wash, peel, quarter and core apples.
Cut the apple quarters into small pieces and stew them with lemon juice, sugar and cinnamon stick for about 15 minutes. Let the compote cool down and remove the cinnamon stick. Boil up plenty of salted water. Put the spaetzle dough in small portions on a damp board and scrape it with a damp knife in thin strips into the boiling water.
Or press the dough in portions through a spaetzle press into the boiling water. Bring the spaetzle to the boil once, take it out and rinse with cold water. Drain well. Grate cheese finely. Peel onions and cut into rings.
Fry in hot fat until golden brown. Grease an ovenproof dish. Pile in spaetzle and cheese, finish with cheese. Bake in a preheated oven (electric: 200 °C/ gas: level 3) for about 15 minutes.
Sprinkle cheese noodles with onion rings and chopped parsley. Add apple compote extra.