YAML Loading
YAML Loading
Section titled “YAML Loading”Load typed YAML once, then work against decoded config objects instead of raw getters. DaisyConfig keeps both the simple unmanaged path and the higher-level managed path.
Simple / unmanaged
Section titled “Simple / unmanaged”DaisyYaml.load object Loads one typed YAML file without creating a live handle.
DaisyYaml.handle object Creates a reloadable unmanaged handle for one typed YAML file.
yamlConfigHandle object Loads one YAML file into a typed reload handle.
yamlConfigBundleHandle object Creates one logical handle across many unmanaged YAML files.
ensureDefaultConfigResource string Copies the default YAML resource into the plugin data folder when missing.
codec object Supplies the decoding shape used when the YAML file is loaded.
Managed
Section titled “Managed”DaisyManagedYaml.load object Loads a managed YAML file with merge, migration, and reporting.
DaisyManagedYaml.handle object Creates a managed reload handle for one versioned YAML file.
managedYamlConfigHandle object Plugin helper that creates a managed handle from DaisyManagedYamlFile<T>.
DaisyManagedYamlFile<T> object Describes one managed file, its codec, merge policy, and migration chain.
The unmanaged APIs are still supported and intentionally preserved. Use them when one file and one codec are enough. Move to managed YAML when versioning, missing-key merge, or module conventions become part of the problem.