You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe it has to do with the way the update method rewrites the cache in the create methods of the service files. Because it's reading/writing the entire PACKS_QUERY, this might be changing the selectedPackId variable which in turn triggers the selectedPack apollo query since it has a reactive variable.
Ideally, would figure out more efficient way to update cache. Short-term, may need to rework selectedPack apollo query in closet page to only fire after specific events are triggered.
The text was updated successfully, but these errors were encountered:
I believe it has to do with the way the update method rewrites the cache in the
create
methods of the service files. Because it's reading/writing the entire PACKS_QUERY, this might be changing theselectedPackId
variable which in turn triggers theselectedPack
apollo query since it has a reactive variable.Ideally, would figure out more efficient way to update cache. Short-term, may need to rework
selectedPack
apollo query in closet page to only fire after specific events are triggered.The text was updated successfully, but these errors were encountered: