Gadget providing serial-port slot

As far as I understand the current situation, you have to pre plan how many USB to serial converters you want to use. They typically appear as /dev/ttyUSB<x> or /dev/ttyACM<x> and every single one has to be exported in the gadgets snapcraft.yaml. Plugging in new devices or using wild cards is not supported (please correct me if I’m wrong).