Tag: tanstack
-
@graphql-codegen/typescript-react-query not generating object format for useQuery
-1 I am using @graphql-codegen/typescript-react-query to generate typescript from my graphql schema. these are my @graphql-codegen dependencies "@graphql-codegen/cli": "^5.0.0", "@graphql-codegen/typescript": "^4.0.1", "@graphql-codegen/typescript-operations": "^4.0.1", "@graphql-codegen/typescript-react-query": "^6.0.0", "@graphql-eslint/eslt-plugin": "^3.19.1", my generation configuration is: "schema.ts": { plugins: [ "typescript", "typescript-operations", "typescript-react-query" ], config: { enumValues: enumValues, exposeDocument: true, exposeQueryKeys: true, exposeMutationKeys: true, exposeFetcher: true, addInfiniteQuery: true } }…