react-query icon indicating copy to clipboard operation
react-query copied to clipboard

select should take `cacheData and return `queryData

Open illusionalsagacity opened this issue 1 year ago • 0 comments

https://github.com/rescriptbr/react- query/blob/b202f20611c29316991bb0dbe439d8cb87f3c0b0/src/ReactQuery_Query.res#L22

The way it's typed now this option isn't usable, as you have to return the exact type that's passed in instead of transforming it.

https://tanstack.com/query/v4/docs/framework/react/reference/useQuery

illusionalsagacity avatar Mar 19 '24 13:03 illusionalsagacity