Skip to content

action-/stateSanitizer configuration does not make it into the extension. #604

@timblakely

Description

@timblakely

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request

What is the current behavior?

actionSanitizer and stateSanitizer, if specified in the config, are not called.

Other information:

#544 added support for actionSanitizer and stateSanitizer, but unfortunately they never make it into the extension. StoreDevtools uses notify to send updates to the extension, which in turn calls devtoolsExtension.send with null, state, this.config, this.instanceId. The config object does have the state-/actionSanitizers properties, but the sendMessage function in the extension does not reference them nor passes the config into the extension, and are subsequently ignored.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions