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
{{ message }}
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.
Hi @daffl, but I using mongoose and it still not work and the only option is create and using a hook before to convert plain object id(string) to ObjectId.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to reproduce
Make a query on the client:
Or in REST :
http://localhost:3030/users?_id[$in]=USER1_ID&_id[$in]=USER2_ID
With existing users ID;
Expected behavior
It should return users who are listed by their ID in
$in
propertyActual behavior
It return that no user match:
{"total":0,"limit":50,"skip":0,"data":[]}
Probably IDs should be converted anywhere
System configuration
MongoDB on linux 64 for the collection "users"
Module versions (especially the part that's not working) (On server):
NodeJS version:
v8.9.3
Operating System:
Linux x64 (AntergOS (Based on ArchLinux))
The text was updated successfully, but these errors were encountered: