Skip to content

[Question] What is the reason for changing schema validation error type from Set of Error to List of Error? #1214

@mdanish98

Description

@mdanish98

I noticed that schema validation errors are now returned as a List of Error instead of a Set of Error in v2.0.0. I couldn’t find documentation explaining this change; the only reference I found was the statement: “Errors are returned as a List instead of a Set.”

Could you share the rationale or requirements behind switching from Set to List? In particular:

  • Is error ordering now meaningful, and should consumers rely on it?
  • Can duplicates occur, or is the list guaranteed to be unique?
  • Are there migration or compatibility considerations we should be aware of?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions