Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Pipe should not decorate MiddlewarePipe instances #98

Commits on Jan 25, 2017

  1. Pipe should not decorate MiddlewarePipe instances

    In prepping Expressive to use Stratigility 2, I discovered that
    `MiddlewarePipe` instances piped into another `MiddlewarePipe` instance
    were being decorated as callable middleware; this should no longer
    happen.
    
    This patch adds a test to ensure it does not happen, and updates
    `pipe()` to not decorate callable `ServerMiddlewareInterface` instances.
    
    In doing so, the `isInteropMiddleware()` method is no longer relevant,
    and I removed it; since it was marked `private`, this is a backwards
    compatible change.
    weierophinney committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    0d8fe1d View commit details
    Browse the repository at this point in the history