apollographql / apollo-feature-requests

🧑‍🚀 Apollo Client Feature Requests | (no 🐛 please).
Other
130 stars 7 forks source link

Reset lazy query #434

Open simPod opened 7 months ago

simPod commented 7 months ago

Mutations have reset functionality https://www.apollographql.com/docs/react/data/mutations/#resetting-mutation-status

Can we have the same for queries? I'd like to be able to reset the object's state the same way I can for mutations now.

jerelmiller commented 7 months ago

Hey @simPod 👋

Thanks for the request! Would you be able to go into more detail about your use case? We'd love to best understand what you're looking to do by resetting the state. Thanks!