fflib-apex-common
fflib-apex-common copied to clipboard
Common Apex Library supporting Apex Enterprise Patterns and much more!
It looks like the selector pattern is not compatible with Entity Definition and Field Definition Code: Code: ``` flib_QueryFactory queryFactory = newQueryFactory(); queryFactory = queryFactory.selectField('FieldName__c.QualifiedApiName'); ``` Exception: ``` Error on...
Hello, I have more of a discussion question regarding how to enable FieldSets to be more flexible. * If you're using Application.Selector.newInstance how do you provide the parameter for adding...
In `fflib_SObjectSelector` we have a useful method to add lookup fields from a selector instance to an existing queryFactory ``` public void configureQueryFactoryFields(fflib_QueryFactory queryFactory, String relationshipFieldPath) { // Add fields...
We're currently using a much older version of fflib (~2014), We upgraded to the latest version and are experiencing this issue. here is a simple example to repro, you will...
In Shield Platform Encryption, you can't use Order By on an encrypted field. This can't be detected at analysis time by Shield Platform Encryption if one is using the fflib_SObjectSelector...
Does it make sense or is it feasible to use a real `upsert` operation instead of routing to `registerNew` or `registerDirty`? This would open the possibility to upsert by external...
The "deploy" target defined in build.xml depends on "undeploy". Looking at undeploy.xml, it generates a destructiveChanges.xml file that effectively purges all custom components from the org. This happens without prompting....
Most popular open source repositories have a "CONTRIBUTING.md" file that explains the guidelines for contributing back to the repo. I didn't see one here for fflib. Here is a link...
Is there a way to use QueryFactory and get the translation for a picklist? Like: ``` SELECT Id, Name, toLabel(ServiceType__c) FROM Time__c ```
Hello, When writing a trigger and completing a try catch for my DML I would do something similar to the following: ``` Map accounts = new Map((List) Records); try {...