> No because in the following code we need to have all WMS layer and group in the layer config:
https://github.com/camptocamp/cgxp/blob/5bb37b51967260eea435b5415c474fdcc9f4c4c8/core/src/script/CGXP/plugins/GetFeature.js#L268

I guess this is an answer to "Do we still want to add the layer to the config object if that layer has child layers?".

So if we have a layer group "layer_group_1" composed of "layer_1" and "layer_2" the query requests will include "layer_group_1", "layer_1" and "layer_2"?