-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat(db): implement RefundInterface
for MockDb
#1277
Conversation
RefundInterface
for MockDb
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.
Other than that, looks good to me!
Thanks for the PR, @younes-io!
If possible try to handle the unwrap by raising the error. Apart from that Looks good to me. Thanks for the Contribution @younes-io! |
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.
One minor change needed. Other than that, looks good to me!
Edit: Also, please address the failing CI checks.
Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
@SanchithHegde I ran |
The one warning that was thrown previously should be fixed by your latest commit. |
Thanks again for the PR, @younes-io! |
Type of Change
Description
Additional Changes
Motivation and Context
The main motivation is to have MockDb stubs, help to void mocking, and invocation of external database api's.
For more information check #172
Fixes #1276
How did you test it?
Checklist
cargo +nightly fmt --all
cargo clippy