Skip to content

rphippswiley/hapi-server-cached-method-last-arg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run npm run start and see console output of cached method vs non-cached method, resulting in an object being passed as last argument, which conflicts with argument default values.

npm run start

> [email protected] start
> node index.js

nonCachedMethod arg2 Im a default value
cachedMethod arg2 {}

About

Is there a bug where the last argument is an object?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published