Added the ignore_packages option to exclude those packages from being generated with this microweb generator.
The list is ";"-separated, such as ignore_packages=pkg1;pkg2;pkg3. The list will be split having the ";" as separator.
Note that having a trailing ";" will cause an empty package name to be part of the ignored list, which will mean that proto files without a declared package name will be ignored. Since this is usually an unwanted behavior, avoid that trailing ";"
The generator will perform an exact match against the declared package name. There is no fancy regex match in place, so you might need to list a long list of packages
Added the
ignore_packages
option to exclude those packages from being generated with this microweb generator.The list is ";"-separated, such as
ignore_packages=pkg1;pkg2;pkg3
. The list will be split having the ";" as separator. Note that having a trailing ";" will cause an empty package name to be part of the ignored list, which will mean that proto files without a declared package name will be ignored. Since this is usually an unwanted behavior, avoid that trailing ";"The generator will perform an exact match against the declared package name. There is no fancy regex match in place, so you might need to list a long list of packages
Example usage with "buf" (buf.gen.yaml):