persistgraphql icon indicating copy to clipboard operation
persistgraphql copied to clipboard

Deprecate persistgraphql

Open evans opened this issue 6 years ago • 2 comments

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.

evans avatar Jul 27 '18 21:07 evans

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 avatar Feb 20 '19 11:02 abumalick

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

apollo client:extract

abumalick avatar Feb 28 '19 19:02 abumalick