Hi! To make it work with Apollo it's pretty easy actually:
apollo
generate-types
yarn generate-types
The types will be generated into src/types folder :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi! To make it work with Apollo it's pretty easy actually:
apollo
devDependency and create the scriptgenerate-types
in your package.jsonyarn generate-types
, and voilΓ !The types will be generated into src/types folder :)