-
Notifications
You must be signed in to change notification settings - Fork 16
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
itemadapter #13
itemadapter #13
Conversation
Codecov Report
@@ Coverage Diff @@
## master #13 +/- ##
=======================================
Coverage 98.00% 98.00%
=======================================
Files 4 4
Lines 251 251
=======================================
Hits 246 246
Misses 5 5
Continue to review full report at Codecov.
|
Co-authored-by: Adrián Chaves <[email protected]>
Co-authored-by: Adrián Chaves <[email protected]>
@kmike I was thinking to raise an specific exception in |
I’m unsure. On the one hand, given the long-term plan is to delay such an exception until That said, since we will nonetheless break the actual API in the future, defining an exception type now should not negatively affect users in the future. If they are catching the dataclass-specific exception now, they will need to move the exception handling either way; if we already define the exception class that we raise, then they will only need to move the code, and not also rename the exception class they catch. |
I don't think we'll be able to delay the creation. Check my last comment here #14
I don't think users should handle this exception, they should fix it. Otherwise, they won't get the result they want, so they can't proceed with the given implementation. |
Thank you @ejulio! |
YAY 🎉 |
Just moved @elacuesta's changes here. Since we changed a few things since then, moving the commits would be a bit messy.
So, I copied his changes and gave his credit in the commit message :)