Skip to content

A sequence action for stateful requests (HTTP sessions) #1863

@GuerricPhalippou

Description

@GuerricPhalippou

Feature proposal

Since middlewares are internally used and not exposed to developers, there is no possible way to implement stateful requests, as it was done with the express-session middleware before v4.

Current Behavior

The v4 complying solution would be a sequence action, but it doesn't exist yet in RestBindings.SequenceActions.

Expected Behavior

Have a sequence action that retrieves cookies information and make it available to the app via context and dependency injection

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExtensionsRESTIssues related to @loopback/rest package and REST transport in generalfeaturehelp wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions