You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+1
Generating the entire useQuery(), useMutation(), ... calls is definitely a step forward for DX, reducing some boilerplate. After code generation, I always manually create useSomething hooks to keep consumers clean.
@amarant while I agree in principle (and hence it's designed the way it is), I do think giving people the option to create custom hooks would be a nice feature. Clearly, some people really want it!
Description
is it possible to generate ready to use hooks instead of SDK methods, which are used in useQuery? for example useSomeEnpoint() from codegen?
The text was updated successfully, but these errors were encountered: