apollo-hooks-codegen
apollo-hooks-codegen copied to clipboard
A plugin for graphql-code-generator to create fully typed React Hooks from GraphQL queries, mutations and subscriptions.
https://www.npmjs.com/package/graphql-code-generator
I've run into a few situations where conditionally executing a query would be very beneficial, for instance when one query returns the ID of the logged in user, and another...
👋 I'm trying to use `[email protected]` with GraphQL interfaces, is this supported? At the moment I'm getting an error about `unhandled GraphQLOutputType in unwrap` with the following schema: ```graphql interface...
When using `--noUnusedLocals` tsc option, there are two vars that fail for my build: `ApolloQueryResult` and `subscription`. (dependent on feature usage I'm sure). I had to use the `add` plugin...
Thanks so much for this library, it's been incredibly helpful for the project I'm building. I was wondering if the following was supported: schema: ``` type Mutation { unionMethod(body: String):...