apollo-feature-requests icon indicating copy to clipboard operation
apollo-feature-requests copied to clipboard

Support array of IDs for useFragment

Open slivlikh opened this issue 2 years ago • 1 comments

I think would be great if useFragment supports array of IDs. I understand that I can still use useQuery, but it requires a cache redirect, I would like to avoid it. Also, it's more flexible, if one day the component starts receiving an array of IDs instead of a single ID, there is no need to change useFragment to useQuery.

slivlikh avatar Feb 14 '23 11:02 slivlikh