Skip to content

Outdated documentation of immutable invariant options on the homepage #491

@ntamas

Description

@ntamas

The API reference on the homepage currently states that the paths to ignore in the immutable state middleware can be configured with the ignore key. This is not true; when the middleware was merged in the most recent version, the key was renamed to ignoredPaths, relying on the old ignore key has no effect. (The new middleware also has a warnAfter key for what it's worth). The API reference on the homepage should be updated to avoid confusion. Also, it would probably be a good idea to treat ignore as an alias for ignoredPaths in order not to break backwards compatibility in a minor release.

Thanks a lot in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions