Closed davidweisse closed 3 weeks ago
During contrast generate, the parsed YAML file is not guaranteed to be valid. This checks for all struct fields that are necessary for the generation process if they are nil or not, to avoid runtime panics on an invalid YAML file.
contrast generate
Should we lable this as bug fix? Or put it otherwise in the changelog, I think it is a nice improvement we don't panic on unexpected yaml anymore. :)
During
contrast generate
, the parsed YAML file is not guaranteed to be valid. This checks for all struct fields that are necessary for the generation process if they are nil or not, to avoid runtime panics on an invalid YAML file.