-
Notifications
You must be signed in to change notification settings - Fork 46
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
editoast: remove InternalError usage in Delete and Create Model API #10196
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #10196 +/- ##
==========================================
+ Coverage 81.81% 81.85% +0.04%
==========================================
Files 1073 1075 +2
Lines 106718 107176 +458
Branches 730 728 -2
==========================================
+ Hits 87306 87724 +418
- Misses 19373 19413 +40
Partials 39 39
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
f75fab0
to
f4c7501
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job. Not approving yet, let's see where the comments goes first.
1ed77d0
to
a15b78c
Compare
b7fd8c4
to
6c55602
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I like this Model::Error
associated type, seems logical. I've put a few more comments related to the recent changes, but nothing big. Thank you.
Thanks for the review! Good to know it's the right track, it's still a work in progress though (I think one commit got nuked in the process I just noticed... 👀). I'll try to finish that on monday (if I'm not trapped on permissions again, that is 😨) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm for front (not tested)
03e753c
to
0b69f70
Compare
@woshilapin I've added the I also removed some |
a876252
to
a43d5ff
Compare
…elete Signed-off-by: Leo Valais <[email protected]>
Signed-off-by: Leo Valais <[email protected]>
Signed-off-by: Leo Valais <[email protected]>
Signed-off-by: Leo Valais <[email protected]>
…els::Error Signed-off-by: Leo Valais <[email protected]>
e26efa9
to
3cd4117
Compare
diesel::result::Error
ineditoast_models
views
(mostly)map_diesel_error
here and thereeditoast_models::model
laterTip
Review commit by commit