Skip to main content

FailFast

A FailFast annotation can be used to specify that validation should stop at the first error.

Attributes

AttributeTypeDescription
fail_fastbool = TrueDetermines whether validation should stop immediately at the first error to improve performance or continue to collect all errors.

Constructor

Signature

def FailFast(
fail_fast: bool = True
) - > null

Parameters

NameTypeDescription
fail_fastbool = TrueWhether validation should stop immediately after the first error is encountered to improve performance.