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

Support persisted query file generation #67

Open
dr3 opened this issue Jul 5, 2021 · 2 comments
Open

Support persisted query file generation #67

dr3 opened this issue Jul 5, 2021 · 2 comments

Comments

@dr3
Copy link

dr3 commented Jul 5, 2021

Great package btw, works really well with dev servers!

The manual running of the compiler accepts the the --persist-output flag to generate the persisted queries file, however I do not see a method to do so using this package.

Is this something that could potentially be supported?

@danielholmes
Copy link
Collaborator

@dr3 yea definitely. I'm not working on any relay projects atm so don't have a desire to implement it. Would accept a PR though if you or someone else has time for the work.

@sorenhoyer
Copy link
Contributor

@dr3 Can't you just pass it to the nested config object? Just like you'd do with noFutureProofEnums and others? Should work already, although that nested config object seems a bit weird. Opened an issue regarding it.

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

3 participants