|
I'm trying to enforce that all my url routes use kebab case in my codebase. Best way I could think of to do that is to validate them all during runtime. Is there anywhere that's easily available? If not I was thinking of crawling the root |
Answered by
RobinTail
Dec 11, 2025
Replies: 1 comment 1 reply
|
Hello @JoshElias . |
1 reply
Answer selected by
RobinTail
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @JoshElias .
The list of routes can not be retrieved in array, because they are processed as a hierarchical structure of unknown depth.
However, I'm considering adding a hook to
Diagnosticswhere you could receive eachpathas an argument and implement custom verifications or create such an array for similar purposes.I will let you know when it's done.