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

Sorted errors wanted #28

Open
bernardito-luis opened this issue May 28, 2020 · 0 comments
Open

Sorted errors wanted #28

bernardito-luis opened this issue May 28, 2020 · 0 comments

Comments

@bernardito-luis
Copy link

When you customize your parser it is very likely that the order of raised errors will be broken.
Say you have some column that is required=True and you need some overall post-validation.
row1 pass requirement validation, but fails on post-validation
row 2 fails requirement validation
Thus in self.errors you will get messages in order: row2, row1

Maybe storing errors as objects with some attributes will make sorting simple, however it will require some additional memory.

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

No branches or pull requests

1 participant