seedium / uzert

Other
3 stars 0 forks source link

Add more types of custom providers #125

Closed KostyaZgara closed 4 years ago

KostyaZgara commented 4 years ago

Need more flexibility for providers creating. For example, need useValue option because it's important for future database module #88 and injection connection values, models, and other things.

Proposition for supporting types of custom providers in v3 version:

  1. useFactory
  2. useValue
  3. useClass

I think it will enough for the first time.