question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Usage with "GraphQL Code Generator"

See original GitHub issue

Hi, 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:open
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
IvanGoncharovcommented, Sep 21, 2021

@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.

1reaction
hutbercommented, Aug 16, 2022

Ye, code gen is so fantastic!!

I wonder what would be needed to get this plugin out of experimental and into “YE BOI!!”

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found