-
Notifications
You must be signed in to change notification settings - Fork 22
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
#9105: make getState and setState async #9122
Conversation
06a0bb3
to
9b568b8
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.
This brick had to be updated to handle interleaving calls to get/set. The request id is now set immediately, which better matches the RTK Query behavior for request id
Playwright test resultsDetails Open report ↗︎ Flaky testschrome › tests/pageEditor/addStarterBrick.spec.ts › Add starter brick to mod Skipped testschrome › tests/regressions/doNotCloseSidebarOnPageEditorSave.spec.ts › #8104: Do not automatically close the sidebar when saving in the Page Editor |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9122 +/- ##
==========================================
+ Coverage 74.24% 74.73% +0.48%
==========================================
Files 1332 1345 +13
Lines 40817 41647 +830
Branches 7634 7756 +122
==========================================
+ Hits 30306 31125 +819
- Misses 10511 10522 +11 ☔ View full report in Codecov by Sentry. |
}: { | ||
namespace: StateNamespace; | ||
modComponentRef: Except<ModComponentRef, "starterBrickId">; |
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.
I don't know what lead to the order change, but if we ever want to enforce order for object keys or react props (that one can be a bit more problematic), there are some lint rules for it:
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.
Not a functional change - just improving information hierarchy on the order
No loom links were found in the first post. Please add one there if you'd like to it to appear on Slack. Do not edit this comment manually. |
What does this PR do?
Discussion
For more information on our expectations for the PR process, see the
code review principles doc