Dice the dried tomatoes. Finely dice the onions and garlic as well.
Mix the egg, parmesan, cream and parsley together and season with salt and pepper. Be careful not to use too much salt, because the sun-dried tomatoes are already very intense.
Sweat the tomatoes, onions and garlic in a large pan in a little olive oil.
Cook the spaghetti according to the instructions on the package and add about 4 tablespoons of pasta water to the cream mixture in between.
Then drain the spaghetti in a sieve and add to the pan with the sweated tomatoes and onions. Pour the egg mixture over it and carefully mix in everything.