CompileRuleOptions
Defined in: src/createParser.ts:96
Options for parser.compile() — predicate-rule error attribution
Properties
Section titled “Properties”
readonlyoptionalpath?: readonlyPropertyKey[]
Defined in: src/createParser.ts:102
Field path a predicate failure is attributed to (e.g. [“values”, “confirmPassword”]). Defaults to the root path, which surfaces as a form-level error.
message?
Section titled “message?”
readonlyoptionalmessage?:string
Defined in: src/createParser.ts:104
The “expected …” phrasing of the failure message