Skip to content

ParseResult

Defined in: packages/core/src/parser/yaml-parser.ts:364

Result object returned by safeParse operations

Type ParameterDefault type
TRootConfig
PropertyTypeDescriptionDefined in
data?TValidated configuration object (only present if success is true)packages/core/src/parser/yaml-parser.ts:366
errorsParseError[]Array of errors (only present if success is false)packages/core/src/parser/yaml-parser.ts:367
successbooleanWhether parsing and validation succeededpackages/core/src/parser/yaml-parser.ts:365
warningsValidationWarning[]Non-fatal findings (unknown keys, deprecations, bounded expression checks). Present on both success and failure; always an array.packages/core/src/parser/yaml-parser.ts:368