You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Action Items
See bloom-backend/src/user/user.controller.ts. Look for the /v1/user/me endpoint
Duplicate the endpoint but as a GET request. Do not delete the old version. The functionality should be the same.
Write some comments to explain the transition and which endpoint should be used and which is going to be archived
The text was updated successfully, but these errors were encountered:
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!
@mayank-sahai I've assigned you this issue.
And that's a really good question.
I would go with option 2, just make sure it passes all tests.
If it causes tests failures or any unexpected behavior I would use option 1 instead.
Either option ultimately works, thank you for asking!
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.
Action Items
The text was updated successfully, but these errors were encountered: