solid-start icon indicating copy to clipboard operation
solid-start copied to clipboard

[Feature?]: File-based routing for middlewares

Open Sleepful opened this issue 9 months ago • 1 comments

Duplicates

  • [x] I have searched the existing issues

Latest version

  • [x] 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 avatar Mar 20 '25 07:03 Sleepful

Tangentially related issue: https://github.com/solidjs/solid-start/issues/1811

Sleepful avatar Mar 20 '25 07:03 Sleepful