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
[FEATURE] Implement MerchantAccountInterface
for MockDb
#2438
Comments
Hello @SanchithHegde, I would like to help with this issue. |
Hey @dalprahcd , |
@dalprahcd I'm looking up with adding few changes in this directory if you can kindly assign this issue to me or let me know if a PR will be better to review my work or not!! |
Thanks! I will let you know if I face any difficulties.
Hello @imSanko, I want to help with this implementation, you are welcome to do any changes you want (as long as you don't implement |
Hey @dalprahcd , |
Hello @VedantKhairnar, yes I am, I will have a PR for it soon, thanks. |
Hello @SanchithHegde and @VedantKhairnar, Looks like I will not be able to help with this implementation. My knowledge of Rust still not there. async fn delete_merchant_account_by_merchant_id(
&self,
merchant_id: &str,
) -> CustomResult<bool, errors::StorageError> {
let mut accounts = self.merchant_accounts.lock().await;
let index = accounts
.iter()
.position(|account| account.merchant_id == merchant_id)
.ok_or::<errors::StorageError>(errors::StorageError::ValueNotFound(format!(
"No merchant account found for merchant_id = {merchant_id}"
)))?;
accounts.remove(index);
Ok(true)
} Anyone is welcome to take over from now on. |
Hey @dalprahcd, please let me know, if you want any kind of help. Happy to help :) |
Dear Authors, Please Assign me this issue, I would love to help |
Hey @shivansh-bhatnagar18 , sure! I've assigned this to you. In case you have any queries, you can ask them on this issue thread, or on our discord server, or on slack whichever you are comfortable with. |
Spin off from #172. Refer to the parent issue for more information
The text was updated successfully, but these errors were encountered: