trailsjs / trailpack

:package: Trailpack Module. All Trailpacks include and inherit this module.
Other
17 stars 6 forks source link

Lodash merge config #13

Closed jaumard closed 8 years ago

jaumard commented 8 years ago

There a problem when merging configs here https://github.com/trailsjs/trailpack/blob/master/lib/util.js#L44 cause if trailpacks have Arrays, they're replace and not merged. I have the problem in trailpack-swagger cause I want to add routes.js who add /swagger/doc and /swagger/ui but when I do it all main config/routes are lost and replace by my to swagger routes

jaumard commented 8 years ago

Fix on last version