This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
8a23a51
commit 0d8fe1d
Showing
2 changed files
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters