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
As you can see by the second result the response is NULL and will not trigger a purge at GraphCDN.
At this point I see two options to correct this.
a. Add a purging event to the partners API and trigger a purge when the toggle mutation is called
b. Refactor the response from the mutation so a value is always returned, though an additional field may be required to let the caller know if they are now following or not following the partner (currently known by the null/not null response).
The text was updated successfully, but these errors were encountered:
When someone toggles to follow a partner, the cache for that partner (by id) is only purged when the user is added as a follower, not removed.
A basic toggle mutation is:
The JSON Result is either:
or
As you can see by the second result the response is NULL and will not trigger a purge at GraphCDN.
At this point I see two options to correct this.
a. Add a purging event to the partners API and trigger a purge when the toggle mutation is called
b. Refactor the response from the mutation so a value is always returned, though an additional field may be required to let the caller know if they are now following or not following the partner (currently known by the null/not null response).
The text was updated successfully, but these errors were encountered: