I'm trying to use GraphQL CodeGen to ensure that the type I get back from a GraphQL API is correct and has the appropriate type in TypeScript. There's no loader for.graphql files, which is fine. I move the.graphql files outside of the convex directory. When I try to import a query I define in a.graphql file, in a convex file, I still hit the error that says no loader is configured for.graphql files.
So is it even possible to use graphql-codegen? And if not, what do you suggest to make sure that the response from graphql-api has appropriate types?