fflib-apex-common icon indicating copy to clipboard operation
fflib-apex-common copied to clipboard

Common Apex Library supporting Apex Enterprise Patterns and much more!

Results 98 fflib-apex-common issues
Sort by recently updated
recently updated
newest added
trafficstars

This change is [](https://reviewable.io/reviews/apex-enterprise-patterns/fflib-apex-common/393) Hi guys, please take a look at the suggestion for Criteria Factory. If you like the idea, I will add security checks and bind variables support....

query-builder

Hi, I just wanted to point out that the 'Deploy to Salesforce' doesn't work due to the lack of parameters in the link. Currently, the URL in the link is:...

This change is [](https://reviewable.io/reviews/apex-enterprise-patterns/fflib-apex-common/390)

This utility function was created for the following reason. Our team kept writing code snippets that looked like the following: ``` if ( acct.Parent.Parent.Parent.Parent.Parent != null ) { managingUser =...

Assume we have a selector on a custom object `Foo__c` The following does not work: ``` public List selectByIdWithOwner(set idSet>) { fflib_QueryFactory fooQF = newQueryFactory() .selectFields(new List{'Owner.Alias'}); } ``` Result...

enhancement

I considered just making a PR but this seems intentional. Example: ``` public static void checkFieldIsReadable(SObjectType objType, String fieldName) { checkFieldIsReadable(objType, fflib_SObjectDescribe.getDescribe(objType).getField(fieldName)); } public static void checkObjectIsReadable(SObjectType objType) { if...

When custom metadata tables include references to related metadata (e.g. Entity or Field Definitions), fflib_QueryFactory throws an exception. > FeatureSetDefinition__mdt.ParentObject__r is not a lookup or master-detail field but is used...

enhancement

Would you have one Selector of a particular object for your entire Org, or would you create one per App/Process/Functionality? At the moment we are creating one seletor per object...

question

I tried to deploy the fflib-apex-common classes and mocks but the code coverage was not enough. ![image](https://user-images.githubusercontent.com/55927613/66050480-34915080-e525-11e9-802f-07fe1518ec73.png)

enhancement

Andy _(as you can imagine, I'm been retrofitting existing orgs to the SoC pattern and running into interesting use cases..appreciate the forum)_ **Use Case: Sync Quote + Quote Items to...

enhancement
question