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

Better error handling #4

Open
vltr opened this issue Jun 22, 2018 · 2 comments
Open

Better error handling #4

vltr opened this issue Jun 22, 2018 · 2 comments
Assignees

Comments

@vltr
Copy link
Owner

vltr commented Jun 22, 2018

Provide better error handling techniques for developers (almost everywhere)

@vltr vltr self-assigned this Jun 22, 2018
@ahopkins
Copy link

ahopkins commented May 2, 2019

Perhaps allowing for capturing all validation errors and not just the first?

@vltr
Copy link
Owner Author

vltr commented Jun 18, 2019

@ahopkins yes, this is a limitation for using attrs to generate the classes boilerplate code. Basically, it's impossible to have a fine grained control over either to validate one single class or not, you either have everything being validated (which is good only for production - no need to waste resources if your data is somehow wrong) or nothing is validated, based on a global variable - that can lead to racing condition problems.

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

2 participants