Closed eleanorreem closed 5 days ago
Hey @eleanorreem Can I give it a try ?
@chinmaym07 sorry for the delay! I missed this notification. You have been assigned 😄
Thank you for your interest in contributing to Chayn! Please carefully read the CONTRIBUTING.md file and the README.md file for guidance. Let us know if you have any questions. Good luck!
@chinmaym07 As per Chayn policy, after 30 days of inactivity, we will be unassigning this issue to open it back up for contributors. Please comment to be re-assigned. Thank you for your interest in contributing to Chayn!
Hey @kyleecodes @eleanorreem sorry for the delay here. I am working on this. will create the PR by this week.
@chinmaym07 appreciate the update! We recently updated our stale bot so it labeled this stale a few days early by accident. Please let us know if you have any questions.
@eleanorreem @kyleecodes If no one is working on this can I do this issue?
Thank you @SangilYun you have been assigned this issue! Please follow the directions in our Contributing Guide. We look forward to reviewing your pull request shortly ✨
Support Chayn's mission? ⭐ Please star this repo to help us find more contributors like you! Learn more about Chayn here and explore our projects. 🌸
Overview
We want to at some point be using Rest properly. Currently, this is not the case. Each endpoint which deviates from REST patterns should be duplicated and corrected. We can later migrate the frontend over to the correct endpoint and delete the incorrect usage. We don't need to be super strict but just better than where we are now.
Our current url POST
/v1/partner/delete
does not make sense. Firstly, this is because functionally it is a soft delete. We merely set the status of the partner from active to inactive. Secondly the usage of POST is incorrect.Action Items
/v1/partner/delete
endpoint. We want to replicate the functionality of this endpoint./v1/partner/:id
and with a body that accepts{active: boolean}
.deletePartner
, it should beupdatePartner
.updatePartner
should take both the partnerId and a body DTO which all the changes inside. Please see bloom-backend/src/partner-feature/partner-feature.service.ts. Look atupdatePartnerFeature
as an example.Resources/Instructions