-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
DataLoader issue with $in #48
Comments
I ran into Sequelize deprecation warnings for all these operators with |
I got the same error as @micahbowerbank with Sequelize 4.41.2. The solution he gave works. |
Thanks for confirming this @crashspringfield I will take this issue into for the next book edition. In case someone else runs into this issue, please write a comment here and how you worked around the issue :) |
https://sequelize.org/master/manual/querying.html#where imported Op module from sequelize and replaced $in with [Op.in] |
So, use |
Same Issue but it works when updating to @micahbowerbank solution. |
When I use the following from the example
I get the following error
if I change it to the following then everything works
I don't know if this is because I have a newer package or something. But it took me hours to figure it out, so I figured I would share with everyone else
The text was updated successfully, but these errors were encountered: