Skip to content
This repository was archived by the owner on Aug 20, 2020. It is now read-only.

Conversation

@evans
Copy link

@evans evans commented Jul 27, 2018

This deprecates the persistgraphql package in favor of apollo-link-persisted-queries and apollo-cli. Both of those packages encompass what persistgraphql was originally intended to do, including extracting queries and assigning hashes to queries.

If you depend on features in persistgraphql that are not covered by the other two packages, please open an issue on either of the other packages, since this repository will be archived.

@abumalick
Copy link

I looked at the packages that you linked but I don't understand how to generate the queries from these packages.

Do you have an example that shows how to use them to generate a persisted query list from the code with these packages ?

@abumalick
Copy link

We have to add an apollo.config.js file and run

apollo client:extract

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants