Cut the zucchini into cubes, finely chop the shallot and the garlic cloves, grate the pecorino.
Heat the oil in a large saucepan and fry the onions and garlic until translucent. Add the rice and sauté until translucent. Deglaze with the white wine and let it reduce. Now always pour in just enough broth that the rice is covered and cook the rice to the end while stirring constantly. Add the zucchini cubes 5 minutes before the end of the cooking time and cook at the same time. Finally fold in the grated pecorino cheese and season with salt and pepper.