What the equivalent of app.locals (express) in hapi? Is there a way to pass around a instance variable globally?
Server.app seems to be the place: https://github.com/spumko/hapi/blob/master/docs/Reference.md#server-properties
(a bit more explanations here too: https://github.com/spumko/hapi/blob/master/docs/Reference.md#server-options)
Duplicate of #1339
This helped me for anyone else that comes across this:
Most helpful comment
This helped me for anyone else that comes across this: