Replies: 1 comment
-
i think you can do it now, your useSomeResourceList accepts two parameters. second parameter is options which has query property. this query property is so you can make something like this
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Orval generated a useSomeResourceList hook for me. I can use it and get a list of the resource. The list needs to be filtered/transformed before I use it.
React-query allows such transformation using a select parameter:
How can we accomplish that in Orval generated hooks?
Beta Was this translation helpful? Give feedback.
All reactions