ValidateParameters will not define default values in case an option is null. As a results one need to write the default value at 2 places, in the config and in the schema without anything in place to sync it, this could be misleading in case only 1 value is changed in a future version of a pipeline.
I would suggest to add an option to the function that would set default values defined in the schema so that default values are defined and enforced from a single file.
I did not find anything related to this in the other issues, sorry if I missed something and if there is already something similar in place.
Hi,
ValidateParameters will not define default values in case an option is null. As a results one need to write the default value at 2 places, in the config and in the schema without anything in place to sync it, this could be misleading in case only 1 value is changed in a future version of a pipeline.
I would suggest to add an option to the function that would set default values defined in the schema so that default values are defined and enforced from a single file.
I did not find anything related to this in the other issues, sorry if I missed something and if there is already something similar in place.
Bests,