Skip to content

3.15 regression: ListSerializer ValidationError nested structure silently changed #9318

Closed
@peterthomassen

Description

@peterthomassen

#8863 changed the nested dict/list structure of ValidationError detail. I know this is the intention of #8863, but it does break code that parses exception details.

Note that much of that code is on the client side, which often cannot easily be comprehensively tested centrally (unlike backend-side parsing). This causes an unknown amount of misrendered error messages that lose their utility to human users. (And not only that; programmatic handling of structured errors of course breaks as well.)

This is a breaking change in a public-facing data structure and should be reverted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions