Skip to content

If per-route body parser is an empty object we need to prevent defaults from running on that route #67

@dlongley

Description

@dlongley

From a quick read of the code, it looks like if per-route body parser options of {} is used, no body parser will be added for the route, however, the mechanism that is used to perform route-specific body parsing requires an entry on the route. We should add a test here and ensure this works as intended, and if not, add no-op entry for the route (or similar) to fix it in a bug fix release.

We might also want to support options of false or null for this use case.

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