Skip to content
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

Block editor store: also attach private APIs to old store descriptor #52088

Merged
merged 1 commit into from
Jun 29, 2023

Commits on Jun 29, 2023

  1. Block editor store: also attach private APIs to old store descriptor

    As a workaround, until #39632 is merged, make sure that private actions
    and selectors can be unlocked from the original store descriptor (the
    one created by `createReduxStore`) and not just the one registered in
    the default registry (created by `registerStore`).
    
    Without this workaround, specific setups will unexpectedly fail, such as
    the action tests in the `reusable-blocks` package, due to the way that
    those tests create their own registries in which they register stores
    like `block-editor`.
    
    Context: #51145 (comment)
    
    Props jsnajdr
    mcsf committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    8f8927a View commit details
    Browse the repository at this point in the history