Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aarne opened this issue Dec 13, 2021 · 1 comment

Comments

@aarne
Copy link

aarne commented Dec 13, 2021

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?

@onionhammer
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants