fflib-apex-common
fflib-apex-common copied to clipboard
Common Apex Library supporting Apex Enterprise Patterns and much more!
Fix to registerDirty(SObject, SObjectField, SObject) method with relationship registration - allows correct verification using fflib_Match for all parameters - follows existing implementation of registerNew with relationship and registerRelationship Other smaller...
Hello @afawcett, Hope you are well. So, I have a project where I need to give client salesforce.com admin control to enable/disable triggers by using a custom setting. For e.g....
Hi @ImJohnMDaniel Since our team had a need for a method that adds to already existing conditions and not just setting them, here's my pull request to add that functionality....
After upgrading my projects to the latest fflib-apex-common, where some methods were moved from fflib-apex-extensions to fflib-apex-common, I found that a high number of unit-tests were failing. Then I found...
It can be useful to add one error string to all the records of a domain directly from a service class, therefore it needs to be public. And it is...
This change is [](https://reviewable.io/reviews/apex-enterprise-patterns/fflib-apex-common/420)
**Issue description** When I need to verify fflib_ISObjectUnitOfWork.registerDirty(SObject, SObjectField, SObject) method call on a mocked instance, I'm getting this exception: fflib_ApexMocks.ApexMocksException: The number of matchers defined (3). does not match...
Hey there, I realize I'm kind of promoting my own material here, but everywhere I've been people have hated using this library despite how incredible it is because there is...
A common criteria based filter for domains and SOQL condition generator for Selectors. Often the same filters are repeated in the domain and the selector classes. The Criteria feature provides...
I'm afraid that since there's no external id field in the standard data model I found no way to create a test for this. Closes #269 --- This change is ...