chaynHQ / bloom-backend

Code for the backend / API of the Bloom service
https://bloom.chayn.co/
MIT License
17 stars 29 forks source link

Replace req["user"] with req["userEntity"] in the user.controller.ts #545

Open eleanorreem opened 1 month ago

eleanorreem commented 1 month ago

Overview

Take a read through the umbrella ticket. As a sub task to this ticket we want to phase out the use of req["user"] from the user.controller.ts. This most popular endpoint is GET /user/me. For a short period this endpoint will be less performant as the endpoint will be getting the full user profile twice: once in the AuthGuard and once when we hit the service. However, this hopefully will be solved swiftly as the refactor proceeds.

Action Items

SangilYun commented 1 month ago

I'd like to work on this issue. Could you please assign it to me? Thank you!

github-actions[bot] commented 1 month ago

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. 🌸