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

Fix for n+1 query on AuthToken.user #378

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

naviens
Copy link

@naviens naviens commented Feb 15, 2025

Fix for Potential n+1 query detected on AuthToken.user
Screenshot 2025-02-15 at 10 54 58 PM

Fix for Potential n+1 query detected on `AuthToken.user`
@johnraz
Copy link
Collaborator

johnraz commented Feb 16, 2025

Hey!
Thanks for the contribution and good catch !

Would be nice if we could cover this with a test and more importantly can you add a note to the changelog as this might have side effects due to the added join ?

@johnraz
Copy link
Collaborator

johnraz commented Feb 17, 2025

Thanks again!
@giovannicimolin as usual please have a look as well ☺️

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