hapi-swaggered icon indicating copy to clipboard operation
hapi-swaggered copied to clipboard

Crashes with optional parameter

Open indreek opened this issue 7 years ago • 0 comments

For some weird reason lodash is unable to clone route with optional parameters. in lib\utils.js utils.groupRoutesByPath if you use Hoek instead of lodash, it works. // const secondaryRoute = _.cloneDeep(route) const secondaryRoute = Hoek.clone(route)

Indrek

indreek avatar Dec 11 '17 12:12 indreek