graphql-codegen-vscode icon indicating copy to clipboard operation
graphql-codegen-vscode copied to clipboard

Generating for the saved file only loses the output from all other sources?

Open aarne opened this issue 3 years ago • 1 comments

I think I get something fundamentally wrong here :)

A common scenario of:

  • 2 different graphql document sources (file1.tsx and file2.tsx)
  • preset: gql-tag-operations-preset (actually most configurations are the same)

Now when I save one of the files the generation runs and sources are updated, but they will contain the data from the last saved file only ... losing the data from the other file.

What is the correct intended configuration for the plugin to work with multiple input sources?

aarne avatar Dec 13 '21 17:12 aarne

Yeah, this.. seems like it makes or breaks this extension

onionhammer avatar Jun 09 '22 13:06 onionhammer