MohamedBeydoun / atlas

An express-typescript code generator
Apache License 2.0
6 stars 0 forks source link

Support variables in router routes #31

Closed ValerianClerc closed 4 years ago

ValerianClerc commented 4 years ago

Problem:

Variables in router string throw an Invalid route format error. Ex:

atlas generate router test -r get="/test/:id/

Result:

Invalid route format: /datum/:id/