persistgraphql
persistgraphql copied to clipboard
Deprecate persistgraphql
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.
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 ?
We have to add an apollo.config.js
file and run
apollo client:extract