force-di
force-di copied to clipboard
Generic DI library with support for Apex, Triggers, Visualforce and Lightning
Hi, @ImJohnMDaniel - Good day! I would like to ask if it's possible to use LWC for DI. We are blocked because we cannot call LWC from LComponent because LWC...
**Describe the bug** I am seeing an error when the binding value is modified in the parent component's init handler. **To Reproduce** 1) create a test lightning App **Testapp.app** ```...
Hi there folks. We have not updated our common library in a while so this just may be an interconnected issue, but I am getting a weird error when creating...
When running the unit tests, I'm getting a failure for: di_BingingParamTest.givenStringsWhenGetParameterThenGetValues(), line 302... `System.assertEquals( testDateTime.dateGmt(), response.dateTimeValue ); // hours will be zero'ed out` I'm in NZ Summer Time time zone....
This change is [](https://reviewable.io/reviews/apex-enterprise-patterns/force-di/62)
I already see there is a PR created for increasing the code coverage. Is there any ETA? PR link: https://github.com/apex-enterprise-patterns/force-di/pull/63
The hardcoded bindingType Enum is moved to Custom Meta data to allow additional binding types without having to modify existing source code. It also simplifies existing classes and makes them...
because of the critical update regarding createComponent params and the code in the library using dynamic values there is a risk of exception https://github.com/apex-enterprise-patterns/force-di/blob/7e70013e011e4f31c29ec73ccf34241f95cae18c/force-di/main/aura/di_injector/di_injectorController.js#L56 https://help.salesforce.com/articleView?id=release-notes.rn_aura_expr_dynamic_cmp_cruc.htm&type=5&release=226
It would be great to be able to reference a version by git tag, for development and dependency management. Is there a reason not to do so? Versions with no...
Continue to expand out the tests in the /tests sub-folder and those in the sample apps.