Thaw the frozen spinach leaves and cook the gnocchi according to the package instructions.
Cut the onions into small cubes and fry them in a pan until golden brown. Then add the spinach leaves. Now cut the gorgonzola into small cubes and add to the pan. Mix the sour cream into the pan as well. Stir until the gorgonzola has melted and a creamy spinach sauce is formed. Possibly make it even creamier with a little cream. Now season with salt and pepper. Much will probably not be necessary, as the Gorgonzola already has a very intense and salty taste depending on the variety.
Put the gnocchi in a baking dish and the contents of the pan too. If you like, you can also cut small tomatoes and mushrooms in half and stir in. Now mix everything well, mix in the Italian herbs and put the casserole in the oven.
After about 30 minutes, sprinkle the grated cheese on top and continue baking.
After 45 minutes you can take out the casserole and enjoy.