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

[Feature?]: File-based routing for middlewares #1860

Open
2 tasks done
Sleepful opened this issue Mar 20, 2025 · 1 comment
Open
2 tasks done

[Feature?]: File-based routing for middlewares #1860

Sleepful opened this issue Mar 20, 2025 · 1 comment
Labels
enhancement New feature or request needs triage

Comments

@Sleepful
Copy link

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Summary 💡

Middlewares that run only on a given route, with file-based routing. The file rules would be similar to those of a layout that works on all routes of a given directory.

A good example can be seen in the Fresh framework, this is a good reference of the feature:

https://fresh.deno.dev/docs/concepts/middleware

Examples 🌈

No response

Motivation 🔦

No response

@Sleepful Sleepful added enhancement New feature or request needs triage labels Mar 20, 2025
@Sleepful
Copy link
Author

Tangentially related issue: #1811

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage
Projects
None yet
Development

No branches or pull requests

1 participant