Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop obsolete cookbook for middleware in listeners #118

Merged
merged 1 commit into from
Jun 3, 2022

Conversation

Xerkus
Copy link
Member

@Xerkus Xerkus commented Jun 3, 2022

Q A
Documentation yes
Bugfix no
BC Break no
New Feature no
RFC no
QA no

Description

Middleware in listeners cookbook was obsoleted by later interop changes and not compatible with psr middleware.

It relied heavily on the fact that middleware accepted request and response object while it was not required to return a response.

@Xerkus Xerkus added this to the 3.4.0 milestone Jun 3, 2022
@Xerkus Xerkus force-pushed the docs/drop-middleware-in-listeners branch from a65e9c9 to ebd7c16 Compare June 3, 2022 12:39
@froschdesign
Copy link
Member

I think it's absolutely fine to remove it completely. The variant should also not be used in older versions.

@Xerkus Xerkus merged commit f2a238b into laminas:3.4.x Jun 3, 2022
@Xerkus Xerkus modified the milestones: 3.4.0, 3.3.4 Jun 3, 2022
@Xerkus Xerkus linked an issue Jun 3, 2022 that may be closed by this pull request
@Xerkus Xerkus deleted the docs/drop-middleware-in-listeners branch August 20, 2022 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outdated doc page "Using middleware within event listeners"?
2 participants