Should useQueries be able to 'select' data?

Hi! I'm trying to use the newly implemented useQueries method to query for multiple items. I need to modify the result, so I'd like to use the
select
property. However, by doing so, my results aren't modified to the properties I've selected, it still just returns the whole object.

Image #1 shows my select statement attempting to only grab the
id
and permissionId

Image #2 shows the logged result in my browser displaying the full object.

Am I missing something?

My output is correctly typed in TS to only contain
id
and permissionId but the actual values are different 🤔

also note that im just returning my permission argument from my map in the
select
image.png
image.png
Was this page helpful?