We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The /me endpoint performs a database query, even when a valid access token is provided.
/me
In checkTokens:
checkTokens
userId
user
But then in the meQuery, you query the database for the user anyway. Even if the access token was valid and only the userId is returned.
meQuery
Am I missing something here?
(I'm not familiar with tRPC and its query caching methods, so maybe there's something I'm not seeing.)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
/me
endpoint performs a database query, even when a valid access token is provided.In
checkTokens
:userId
userId
anduser
But then in the
meQuery
, you query the database for the user anyway. Even if the access token was valid and only the userId is returned.Am I missing something here?
(I'm not familiar with tRPC and its query caching methods, so maybe there's something I'm not seeing.)
The text was updated successfully, but these errors were encountered: