stick
stick copied to clipboard
Support URI templates in route path spec
It would be nice to have the URI template format supported in the route middleware path spec. In other words in addition to "/post/:id" it would be great to also be able to provide "/post/{id}". URI templates seem to be more widely adopted and have the backing of W3C.
interesting but glancing over the RFC they seem much more complex and not as easy to grasp then the simple templating we took from sinatra & co. e.g.:
pattern expansion
{/count} /one,two,three
{/count*} /one/two/three