Typing queries #50
Unanswered
gavinthomas-valtech
asked this question in
Q&A
Replies: 1 comment 5 replies
-
@gavinthomas-valtech I'm not familiar with orval codegen, so I'm lacking some context here. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the orval.dev codegen tooling which generates all the types and models for api's. This means i can't edit them and all logic goes into hooks
How do i get typing for hooks? if i use useQuery directly i get full inference but if i eference the query key factory in a hook i lose this. What do i need to do to get typing in the hook?
Beta Was this translation helpful? Give feedback.
All reactions