Is there a way to generate hooks in a separated file using near-operation-file
and typescript-react-apollo
?
#499
Unanswered
bcarvalho89
asked this question in
Q&A
Replies: 0 comments 1 reply
-
Sorry for not yet answering your direct question, but is there a reason you prefer to use that and not Codegen's recommended client-preset |
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.
-
I'm trying to figure how generate two files using the
near-operation-file
andtypescrit-react-apollo
.One file for the types and another only for hooks.
Is there a way to do this? The goal is to have for each
.gql
file a generated file fortypes
and another forhooks
.This is my
generates
config:Beta Was this translation helpful? Give feedback.
All reactions