Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (30 sloc) 2.61 KB

Force DI

Generic dependency injection (DI) library with support for injecting Apex, Visualforce, Lightning, and Flows at runtime.


Project Folders

Force DI Example

Folder Description
force-di Core library, contains Injector Apex API and <c:di_injector> VF and Lightning Components
force-app-1 Sample application using the API and Components to inject Apex, VF and Lightning at runtime
force-app-2 Sample package providing impls for various bindings above
force-app-3 Sample package providing impls for various bindings above
force-di-trigger-demo Sample basic trigger framework leveraging the API

Other Resources on Dependency Injection Design Pattern

Some of these blogs and videos are not necessarily Salesforce-specific but give good insights on use cases and purpose behind this design pattern.



You can’t perform that action at this time.