Route Middleware #1995
Unanswered
riteshapatel
asked this question in
Q&A
Replies: 1 comment
-
Not sure I really get what you mean. I think you need to dig into the source to find your answer if the documentation isn't clear enough for you. Reading docs and code for https://github.com/sinatra/mustermann may also help you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does
Sinatra
supportmiddleware
atroute level
? For example, in NodeJS I can do as below.In the event of a wrong payload I want to fail fast and not even reach the route handler.
Or what is the best way to do
route level schema validation
in Sinatra?Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions