Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Disclaimer: this is a duplicate post for hapijs/hapi#2058
According to http://hapijs.com/api#path-parameters and the actual implementation of routes in v7+, one can not register the following route:
This should be changed and it should allow the creation of more flexible routes. Not all users of
I know we can do this by using a single parameter for the whole segment and then parsing that parameter inside the handler method, but that ruins the whole idea of using a framework that handles these small things for you.