Add IgnoreEmpty in YamlConfiguration #284
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the problem you'd like to solve
Hello! I want to have defaults so that when a property is missing it just gets the default of the kotlin data class. Only problem: Kaml throws an
Exception in thread "main" com.charleskorn.kaml.EmptyYamlDocumentException at <root> on line 1, column 1: The YAML document is empty.
Error, because the file is empty.Describe the solution you'd like
Add a IgnoreEmpty boolean in YamlConfiguration so it doesnt throw an EmptyYamlDocumentException
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: