Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.15 regression: ListSerializer ValidationError nested structure silently changed #9318

Closed
peterthomassen opened this issue Mar 21, 2024 · 1 comment
Labels

Comments

@peterthomassen
Copy link
Contributor

#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.

@tomchristie
Copy link
Member

Thanks, yes.
Let's treat this a duplicate of #9317.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants