You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem I'm encountering is that in my findOne method, I set a where clause on the username field and during a refactor, I changed the username to the id but forgot to change the key and only changed the value like this :
As you can see in the screenshots, my IDE correctly indicates that username expects a string and claims.id is a number. However, I don't understand why it doesn't flag this as an issue like it usually does, for example, with upsert methods.
Type username :
Type claims.id :
Once again, I'm not sure if this is the right place to report this, but since it concerns a Sequelize method and TypeScript, I thought you might be able to help. Thank you 🙏
The text was updated successfully, but these errors were encountered:
Hello 👋, first of all, please excuse me if my issue has already been reported, but I don't know what to search for to find it, hence my issue.
I am using the following package versions :
The problem I'm encountering is that in my
findOne
method, I set awhere
clause on theusername
field and during a refactor, I changed theusername
to theid
but forgot to change the key and only changed the value like this :As you can see in the screenshots, my IDE correctly indicates that
username
expects a string andclaims.id
is a number. However, I don't understand why it doesn't flag this as an issue like it usually does, for example, withupsert
methods.Once again, I'm not sure if this is the right place to report this, but since it concerns a Sequelize method and TypeScript, I thought you might be able to help. Thank you 🙏
The text was updated successfully, but these errors were encountered: