[x] used the search to make sure that a similar issue hasn't already been submit
Expected Behavior
You generally want to minimize code duplication to avoid maintenance and readability issues.
Current Behavior
Very large portions of express.hbs, hapi.hbs and koa.hbs are identical or have no functional difference.
Possible Solution
My first hunch would be to extract the common portion(s) into a separate "base" template. The router-specific parts can then be 'included' into this base template.
Breaking change?
Probably not because custom templates are not be affected by this change.
Sorting
I'm submitting a ...
I confirm that I
Expected Behavior
You generally want to minimize code duplication to avoid maintenance and readability issues.
Current Behavior
Very large portions of
express.hbs
,hapi.hbs
andkoa.hbs
are identical or have no functional difference.Possible Solution
My first hunch would be to extract the common portion(s) into a separate "base" template. The router-specific parts can then be 'included' into this base template.
Breaking change?
Probably not because custom templates are not be affected by this change.