Skip to content

Is JSON codec short-circuit validation intentional? #1115

@khajavi

Description

@khajavi

While working with validation behavior in the JSON codec, I noticed that it short-circuits on the first failure instead of accumulating all validation errors. Is this behavior intended by design?

However, Schema#fromDynamicValue does accumulate errors across all fields and nested elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions