Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use graphql-codegen with legacy mode
Because we are using an older version react-query before it changed to TanStack, graphql-codegen references the new react-query package path, which does not exist in this project. By setting `legacyMode: true` we can instruct codegen to use the old react-query path as documented here: https://the-guild.dev/graphql/codegen/plugins/typescript/typescript-react-query#legacymode
- Loading branch information