馃挰 Question here
I have a situation where multiple plugins are registered in my Fastify app. Each plugin can receive its own options object when registered, for example:
fastify.register(require('./pluginA'), { foo: 'bar' })
fastify.register(require('./pluginB'))
In pluginB, I鈥檇 like to access the options that were passed to pluginA
Is there a built-in or recommended way to access another plugin鈥檚 options directly?
馃挰 Question here
I have a situation where multiple plugins are registered in my Fastify app. Each plugin can receive its own options object when registered, for example:
In
pluginB, I鈥檇 like to access the options that were passed topluginAIs there a built-in or recommended way to access another plugin鈥檚 options directly?