Manual optimistic updates break cache updates for comments (probably updates for all following mutations). This PR comments out the code that breaks them for now.
TODO:
[x] ~also comment out~ delete manual optimistic update code for bounty and poll votes
Checklist
Are your changes backwards compatible? Please answer below:
Yes
Did you QA this? Could we deploy this straight to production? Please answer below:
Yes, tested zaps and custom zap with commenting afterwards, bounty payments, polls
For frontend changes: Tested on mobile? Please answer below:
Did you introduce any new environment variables? If so, call them out explicitly here:
I kept the broken optimistic code for zaps as comments so I can easier study it. But it's probably better to completely focus on #1195 instead of trying to fix code that #1195 will make obsolete anyway.
Description
Related to #1218
Manual optimistic updates break cache updates for comments (probably updates for all following mutations). This PR comments out the code that breaks them for now.
TODO:
Checklist
Are your changes backwards compatible? Please answer below:
Yes
Did you QA this? Could we deploy this straight to production? Please answer below:
Yes, tested zaps and custom zap with commenting afterwards, bounty payments, polls
For frontend changes: Tested on mobile? Please answer below:
Did you introduce any new environment variables? If so, call them out explicitly here: