Persisted Query List Management

I started implementing persisted queries in our testing and production graphs. I realized a weakness to my approach - how do we properly prune this list over time when a query changes? Are they designed to grow indefinitely? I don’t see any easy way to prune this list as the code evolves.

As far as I know, there is currently no way to prune the list.

FYI @Andrew_McGivery — related to our recent discussions around this, not sure if there’s anything else we can share at this point

Hey @jmccall!

You and Serey are correct that currently there is not a great way of pruning a PQL so it tends to grow over time as you make changes to your app and re-registering queries.

Good news however! The team is currently working on functionality to enable pruning lists of old queries. If you’re interested in trying this feature out when it becomes available, please reach out to your Apollo account team!

1 Like