How to use useMany hook with ids that may be duplicates? #6411
Unanswered
SadmanYasar
asked this question in
Q&A
Replies: 1 comment
-
Hey @SadmanYasar can you explain a bit more? getMany filters by given ids, having duplicate ids could be a problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, if I have an array of ids e.g [52,52,52], the useMany hook only includes one object matching the id instead of three objects for three ids in the array. I am using Directus data provider. Is this related to Refine or Directus SDK? The code is pretty much the same as the docs
Beta Was this translation helpful? Give feedback.
All reactions