Skip to content

Hook into the middleware to allow custom response processing #1360

@Addvilz

Description

@Addvilz

Summary

This relates to custom implementations.

It would be great if we could somehow hook into the middleware to be able to modify the response behaviors based on the interruptions and add custom logic on top of that

Currently, there is no way to hook into the middleware and intercept responses while also having access to Interruption

Basic example

Example would be an ability to, based on, for example, rule IDs or other data, to return custom responses to the client.

Motivation

There is a workaround (entirely custom middleware implementation) but this is cumbersome and hard to maintain long term.

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