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

Support static index in UserStore.FindByEmailAsync #58

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

Conversation

lahma
Copy link
Contributor

@lahma lahma commented Sep 5, 2024

Boy did I have fun time trying to figure out why some user-related features were failing. Long story short - for some reason the compare exchange value was missing and user was reported as not found on email based query even though everything looked OK in user data.

As static indexes are supported when querying user by username, I guess it would be fitting to use the index in case of querying by email. The scenario of index being stale here seems a bit far-fetched as emails change very rarely.

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.

1 participant