apollo-tooling
apollo-tooling copied to clipboard
apollo client:check doen't find GraphQl Queries in gql('..') from graphql-codegen
Hi there,
i just migrated from apollo codegen to graphql-codegen with the following config presetConfig: { gqlTagName: 'gql', }, as in your documentation, which is pretty awesome and works fine.
But we are also checking our queries against a schema with apollo client:check. But I couldn't configure the cli to find the gql(...) method generated by graphql-codegen. I could only find the --tagName option, which is not working.
Is it possible to tell apollo client:check to look for this specific gql function?
Cheers Thomas
+1 Same here. Since the recommendation is to migrate to graphql-codgen, can we get some co-existance between configs of codegen client-preset setup with apollo VS Code Extension features as well as cli check functionality.
+1 is there any alternative extension we can use?