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

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

reidn3r
Copy link
Contributor

@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
@eleanorreem eleanorreem merged commit af0a920 into chaynHQ:develop Oct 1, 2024
4 checks passed
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