Cook the pasta in salted boiling water for 2 minutes less than the packet states. Reserve some of the pasta water.
In a small bowl add the parmesan, egg, egg yolks and black pepper. Use a fork to beat it together to form a paste.
In a large frying pan cook the chorizo and onion over a medium to high heat for about 5 minutes, until the onion softens, and the chorizo starts to crisp.
Chuck in the garlic and cook for another minute.
Add a ladle of pasta water then turn off the heat.
Add the cooked spaghetti into the pan and toss it through the chorizo and onions. Then add in the cheese/egg paste mixture.
Use tongs to stir well to create a creamy sauce. If it needs loosening up then add some more pasta water.
Taste for seasoning. Then stir through the chopped parsley. Dish it up and serve with more grated parmesan.