Builder transformations🔗
Each builder transformation requires the use of one of the following selectors, explicitly and unambiguously stating on which builder(s) the transformation should apply.
Example:
add_factory🔗
AddFactory adds a builder factory to the selected builders. These factories are meant to be used to simplify the instantiation of builders for common use-cases.
Usage🔗
add_option🔗
AddOption adds a completely new option to the selected builders.
Usage🔗
compose🔗
N/A
Usage🔗
compose:
source_builder_name: string
plugin_discriminator_field: string
exclude_options: []string
composition_map: map[string]string
composed_builder_name: string
preserve_original_builders: bool
rename_options: map[string]string
debug🔗
Debug prints debugging information about a builder.
Usage🔗
duplicate🔗
Duplicate duplicates a builder. The name of the duplicated builder has to be specified and some options can be excluded.
Usage🔗
initialize🔗
N/A
Usage🔗
merge_into🔗
N/A
Usage🔗
merge_into:
destination: string
source: string
under_path: string
exclude_options: []string
rename_options: map[string]string
omit🔗
Omit removes a builder.
Usage🔗
promote_options_to_constructor🔗
PromoteOptionsToConstructor promotes the given options as constructor parameters. Both arguments and assignments described by the options will be exposed in the builder's constructor.
Usage🔗
properties🔗
N/A
Usage🔗
rename🔗
Rename renames a builder.