I’ve managed to get a good setup with TS code generation based on .graphql query files. But I’ve been wondering if it’s somehow possible to get autocompletion and validation of the queries in these .graphql files when writing them?
I’ve looked into using the introspection query to generate a schema.graphql to then use with a Graphql vs-code extension but it doesn’t seem that simple.
Anyone have any clues as to how to approach this? It feels a bit clunky to have to write all queries in the CDA Playground and then copy paste into vs-code.