You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rather than type definitions, we can allow arbitrary parsers. Instead of 'foo/:int' we can have ['foo', parseInt]. This unloads a bunch of work from our shoulders, and a DSL that uses :int can always be added on top in the future.
Someone noted that they didn't like the syntax, ofc. I wouldn't mind a more familiar syntax. But further than that I have no for or against the syntax as it would only be founded in what I was use to and not objectivity.
Closing because we are moving forward with @ksperling implementation, if you need to bring any issues from this discussion over to the new implementation please make a new issue. This thread seems to have some interesting ideas...
Activity
gregwebs commentedon Jan 29, 2013
rather than type definitions, we can allow arbitrary parsers. Instead of
'foo/:int'we can have['foo', parseInt]. This unloads a bunch of work from our shoulders, and a DSL that uses:intcan always be added on top in the future.jeme commentedon Jan 30, 2013
@gregwebs I don't quite know how @xealot implemented Improved Angular routing in a backwards compatible way but as I understand werkzeug routing, that is actually what it provides.
e.g.
<path:bar>refers to a parser named path.http://werkzeug.pocoo.org/docs/routing/#custom-converters
Someone noted that they didn't like the syntax, ofc. I wouldn't mind a more familiar syntax. But further than that I have no for or against the syntax as it would only be founded in what I was use to and not objectivity.
timkindberg commentedon Feb 14, 2013
Closing because we are moving forward with @ksperling implementation, if you need to bring any issues from this discussion over to the new implementation please make a new issue. This thread seems to have some interesting ideas...
pranaydutta89 commentedon Jul 28, 2015
👍
christopherthielen commentedon Jul 28, 2015
wat