Skip to content
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

refactor: remove unnecessary joins in getUserByFirebaseId method #646

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

reidn3r
Copy link

@reidn3r reidn3r commented Sep 22, 2024

Now, from synced develop branch:

  • These change tries to solve the issue Refactor user fetching to remove unnessary joins #454

  • Refactored the getUserByFirebaseId function to only fetch the user data, removing unnecessary joins/relations.

  • Searched for any functions that rely on req['userEntity'] to ensure no existing functionality is broken. I found no instances of such functions, so it seems ok.

  • Ran all tests and confirmed they passed successfully

@eleanorreem
Copy link
Contributor

Perfect! Thanks @reidn3r

@eleanorreem eleanorreem self-assigned this Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants