Skip to main content
Version: 3.3.0

buildNgQubeeProviders

buildNgQubeeProviders(config): Provider[]

Defined in: src/lib/provide-ngqubee.ts:34

Build the core provider list shared by provideNgQubee() and NgQubeeModule.forRoot()

Looks up the driver definition from the registry and calls its three factories — request strategy, response strategy, response options. Adding a driver means adding one entry to DRIVERS; this function does not change.

Exposes the driver, strategies, and options via injection tokens so that consumers can request a component-scoped instance of the services through provideNgQubeeInstance().

Parameters

config

IConfig

Configuration object compliant to the IConfig interface

Returns

Provider[]

An array of Providers for the environment injector