-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(web): Organization published material, request-response matching #7161
feat(web): Organization published material, request-response matching #7161
Conversation
Codecov Report
@@ Coverage Diff @@
## main #7161 +/- ##
==========================================
+ Coverage 27.08% 27.36% +0.27%
==========================================
Files 3192 3157 -35
Lines 53962 53334 -628
Branches 13327 13116 -211
==========================================
- Hits 14616 14595 -21
+ Misses 39346 38739 -607
Flags with carried forward coverage won't be shown. Click here to find out more. |
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
8952d13
to
d4ee586
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few questions:
- Is this a problem?
- Is it worth the extra complexity?
- Have you taken a look at
debounce
for delaying searching? - Have you taken a look at invalidating previous HTTP requests?
- Have you considered relying on timestamps instead?
This seems like over-engineering for something I see not big a deal.
|
I believe there is already handling for some race conditions within apollo client. |
The implementation works fine without this change. This is just something a colleague pointed out and we added in case there is a halt in network communication. We could either just bail on this change and I'll close the PR or I could maybe do something a bit simpler like sending a timestamp instead of hashing the request. What do you guys think? |
If this is a real problem or will be in the foreseeable future, I'd prefer the timestamp version. If not, I vote to close this PR. |
Organization published material, request-response matching
What
Why
Checklist: