Closed creatorfromhell closed 2 years ago
Yes, this is what copyDefaults(true)
does (it is set to true by default since version 1.6.1), just ensure you add your default values using addDefault
, setDefaults
or addDefaults
.
See the example.
I'm closing this issue as it is answered. Reopen it if there are any doubts.
Does this library automatically add nodes from the default resource to the existing yaml file if they're not currently present?