Enjoy warm or hot, on its own or with a small green salad.
Remarks
If you find your onions a little too soft at the end of cooking, you can add a good glass of dry white wine.
If you don't have a Mornay sauce, use a Béchamel sauce to which you can add grated cheese to taste.
You'll notice that in this recipe, the onions are cooked without coloring, but if you prefer, you can caramelize them. In this case, increase the weight of onions to 1.5 kg, as they will reduce even more.