You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Registry can load multiple plugins with the same interface with no error.
For example, 2 plugins implement nori/Cache interface. One plugin implements this interface for reads, another plugin implements this interfaces for memcached.
It would be great to have opportunity to configure which plugin Registry must return on interface request by specific plugin.
For example, templates plugin requests nori/Cache interface and receives memcached but sessions plugin receives redis on the same interface request .
Plugin can request interfaces from the Registry.
Nori must support:
Registry
can load multiple plugins with the same interface with no error.For example, 2 plugins implement
nori/Cache
interface. One plugin implements this interface forreads
, another plugin implements this interfaces formemcached
.It would be great to have opportunity to configure which plugin
Registry
must return on interface request by specific plugin.For example,
templates
plugin requestsnori/Cache
interface and receivesmemcached
butsessions
plugin receivesredis
on the same interface request .Config example:
The text was updated successfully, but these errors were encountered: