Usage with "GraphQL Code Generator"
See original GitHub issueHi, this plugin it’s awesome! I’m able to get it working with @apollo/client
with a custom ApolloLink
as suggested in documentation.
It’s also possible to make GraphQL Code Generator
generate right types? I’m using it to generate Typescript types and React Hooks.
typescript-operations
is the plugin that generate types, maybe should be possible to pass graphql-lodash
custom directives and use them to generate right the types.
Some advice on how to do it?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Introduction - GraphQL Code Generator
GraphQL Code Generator is a plugin-based tool that helps you get the best out of your GraphQL stack. From back-end to front-end, GraphQL...
Read more >How to use GraphQL Code Generator with React and Apollo
Install a few npm packages. Create a GraphQL Code Generator configuration file. Add a GraphQL Code Generator script to the package.json file.
Read more >Why You Should Use GraphQL-Code Generator with React ...
GraphQL -CodeGen is a CLI that can generate code from your GraphQL operations and schema. In React projects using typescript operations, it is...
Read more >GraphQL Tooling and Code-gen - Apollo Developer Hub
GraphQL Code Generator is a tool that generates code out of your GraphQL schema. Whether you are developing a frontend or backend, you...
Read more >dotansimha/graphql-code-generator - GitHub
GraphQL Code Generator is a tool that generates code out of your GraphQL schema. Whether you are developing a frontend or backend, you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Alex-Ferreli This is an experimental plugin, so I don’t expect tools like “GraphQL Code Generator” supporting. Personally never used “GraphQL Code Generator” myself so can’t offer help or advice. I Will keep this issue open so maybe someone from the community can help you.
Ye, code gen is so fantastic!!
I wonder what would be needed to get this plugin out of experimental and into “YE BOI!!”