Placeholder types

18 views
Skip to first unread message

sri

unread,
Dec 27, 2017, 11:51:47 AM12/27/17
to Mojolicious
I've opened a GitHub issue with a proposal for adding placeholder types. And
would very much appreciate some feedback.

It's basically a clear form of restrictive placeholders.

    $r->get('/users/(id:int)')->to('Users#show');

--
sebastian

sri

unread,
Dec 27, 2017, 12:41:17 PM12/27/17
to Mojolicious
Looks like the feature might already be blocked by lack of validation error handling.

--
sebastian
Reply all
Reply to author
Forward
0 new messages