fflib-apex-common
fflib-apex-common copied to clipboard
Common Apex Library supporting Apex Enterprise Patterns and much more!
Firstly - thanks for sharing the patterns! This post was prompted by a brief exchange with Andrew after this tweet : Great call with @LaceySnr this morning, talking about Apex...
If I construct a UserSelector class and include User.SmallBannerPhotoUrl and User.MediumBannerPhotoUrl as fields in the getSObjectFieldList() method, I get the following error whenever I run any UserSelector methods > System.SObjectException:...
`fflib_IDGenerator.generate(CaseHistory.SObjectType)` results in : > System.StringException: Invalid id: null000000000001 Class.UP2GO_2T.fflib_IDGenerator.generate: line 41, column 1 Same for Custom__History objects.
The catch block in `commitWork()` on the line: `throw e` could be more helpful to the diagnostician. Use Case 1: - `registerNew / registerRelationship` a chain of Parent__c and Child__c....
I use this library in many different orgs and as such I find that there are quite a few different instances where field requirements are put in place. Whenever I...
@afawcett I said earlier in a different issue #75 that is now closed that we developed a selector pattern that allows us to work with different fields based on the...
With Winter 18 (V41.0), test annotation `isParallel=true` is introduced. This allows orgs where parallel testing is disabled - typically because of locking issues when creating setup records in testmethods -...
There is a compilation-only circular reference between fflib_SObjectUnitOfWork and fflib_ISObjectUnitOfWork. - fflib_SObjectUnitOfWork implements fflib_ISObjectUnitOfWork - fflib_ISObjectUnitOfWork references fflib_SObjectUnitOfWork.IDoWork You can't compile the interfaces independently of the concrete class. I would...
we have territory setup requirement on opportunity from trigger. but that create an impact when Site or Partner users are doing something on some other unrelated object because Application domain...
At this time, it appears I have no way of creating a query that does the following: SELECT Id, Name, MailingLatitude, MailingLongitude FROM Contact ORDER BY DISTANCE(MailingAddress, GEOLOCATION(40.7657, -73.9899), 'mi')...