Hi, am getting this error, I want to render the projects that are in the users field. Can't find what am doing wrong.
it seems like you are passing a whole object instead of ID i believe
Thats how it was built in this demo 🤔
Gotta solve this urgently anyone there to help ?
Hmm, that's weird. idk if the demo is still up to date in that case?
As @.bakry mentioned, seems like its trying to cast the entire object to an ObjectID. can you try to just pass in an array of object Id's? 🤔
so instead of
Try something like
in: user.projects.map((project) => project.id)
yep thats working