graphql-code-generator-community
graphql-code-generator-community copied to clipboard
### Which packages are impacted by your issue? `near-operation-file` preset ### Describe the bug When a .gql document contains a query to a field that is a custom scalar, the...
### Which packages are impacted by your issue? _No response_ ### Describe the bug When using `@graphql-codegen/typescript-urql-graphcache` at version `^3.1.0` the resulting types aren't compatible with `urql`'s `cacheExchange` types. It...
**Is your feature request related to a problem? Please describe.** Two problems - We should be able to expose a fetcher for the query function even when using a hook...
typing for useXyzQuery helpers doesn't generate Ref type for variables (typescript-vue-urql plugin)
Related to @graphql-codegen/typescript-vue-urql **Current implementation** `useQuery` from urlq supports Ref variables (with internal MaybeRef type as `MaybeRef = T | Ref`) see following example ``` import { useQuery } from...
### Which packages are impacted by your issue? @graphql-codegen/typescript-react-query ### Describe the bug This ticket is essentially the same as https://github.com/dotansimha/graphql-code-generator-community/issues/331, except it also applies to the package `@graphql-codegen/[email protected]` when...
## Description Related #367 graphql-request has been updated to v6 and no longer export type `RequestInit` in `dist/types.dom`. It needs to be removed in the generated file. ## Type of...
### Which packages are impacted by your issue? @graphql-codegen/typescript-graphql-apollo ### Describe the bug I want to generate apollo hooks on new version of codegen but when I use `client` preset...
### Describe the bug I don't know if it's a bug or not, but I'm reporting it just in case. See _steps to reproduce_ below for a more detailed bug/issue...
**Describe the bug** I would like to separate out my schema-types from operation-types+hooks, and I believe I've found the config which should accomplish it. However, when using import-types-preset, _all_ of...
## Description This implements the fix suggested in https://github.com/dotansimha/graphql-code-generator-community/issues/141 This is correctly appending `Document` to the operations externally imported for me, which is fixing all compiler errors. If there's a...