We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In https://docs.strapi.io/dev-docs/backend-customization/routes, it's explained how to add middlewares to specific routes of one content type, e.g. find. But how does one make a middleware function run on all routes of one data type?
One sometimes needs a middleware function to run on all routes of one datatype.
Just add an explanation / example maybe.
No response
The text was updated successfully, but these errors were encountered:
This issue has been mentioned on Strapi Community Forum. There might be relevant details there:
https://forum.strapi.io/t/controller-functions-dont-reflect-on-ctx/36558/28
Sorry, something went wrong.
No branches or pull requests
Summary
In https://docs.strapi.io/dev-docs/backend-customization/routes, it's explained how to add middlewares to specific routes of one content type, e.g. find. But how does one make a middleware function run on all routes of one data type?
Why is it needed?
One sometimes needs a middleware function to run on all routes of one datatype.
Suggested solution(s)
Just add an explanation / example maybe.
Related issue(s)/PR(s)
No response
The text was updated successfully, but these errors were encountered: