hapijs / catbox

Multi-strategy object caching service
Other
494 stars 72 forks source link

Change policy.get() return value to plain (with override option) #191

Closed hueniverse closed 7 years ago

hueniverse commented 7 years ago

Change the default return value of the policy.get() method. Before, it always returned an object with { value, cached, report }. This changes it to return just the value by default. To keep the previous format, use the new getDecoratedValue option set to true.

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.