force-di icon indicating copy to clipboard operation
force-di copied to clipboard

Generic DI library with support for Apex, Triggers, Visualforce and Lightning

Results 26 force-di issues
Sort by recently updated
recently updated
newest added

The di_Injector.CustomMetadataModule class makes Schema.describeSObjects() call within a method. The concern is that this is an expensive call and could be optimized if it were outside of the main For...

enhancement

As recently pointed out in another related blog (cannot find it now?)... JSON deserialization has some benefits.

enhancement

For simple use cases with Lightning pages where the developer just wants a Lightning component on the page that would only be using the `` tag, then to reduce the...

enhancement

In cases where no binding is found it might be preferable to have the injector redirect to the native UI for the given action... ?

enhancement

Human errors and typos are inevitable. I often forget to prefix my Lightning component names with `c:` prefix. This request is for the binding resolver to automatically prefix with `c:`...

enhancement

Following my last [blog](https://andyinthecloud.com/2018/07/29/test-driven-development-mocking-and-force-di/) and the code samples in its summary.... I am wondering if an option for the Apex Injector to optionally require a binding if the binding reference...

enhancement

In `force-di` directory, add list of binding parameters to the `Binding.cls` class so that default parameters can be provided at config time. Adding parameters at runtime via the current `getInstance(params)`...

enhancement

https://github.com/google/guice/wiki/LinkedBindings

enhancement

At present the Lightning c:injector outputs to console on error (unknown binding). Consider different options for this. Display something on screen, show toast, other options?

enhancement