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

Add middleware as replacement for isOutputting hook in v11 #190

Merged
merged 1 commit into from
Oct 31, 2021

Conversation

nhovratov
Copy link
Contributor

The hook is deprecated in v10 and removed in v11.
As a replacement a middleware needs to be implemented.

@maechler
Copy link
Member

@nhovratov Thanks for your contribution! I will have a look at it and also fix the build.

@maechler maechler changed the base branch from develop to feature/v11-support October 31, 2021 12:14
@maechler maechler merged commit 5db08f7 into bithost-gmbh:feature/v11-support Oct 31, 2021
@maechler
Copy link
Member

@nhovratov Is there a special reason to use 'after' => 'typo3/cms-frontend/page-argument-validator'? I am trying to figure out where the best place for this middleware would be.

@nhovratov
Copy link
Contributor Author

nhovratov commented Oct 31, 2021

@maechler no, there is no special reason. It is just one, that is not internal. As it is used in the response, it really doesn't matter much, when it is called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants