Closed wimvelzeboer closed 4 years ago
This will add a more fluent design to the fflib_SObjectSelector class constructor, so that you can configure it without having to use the Boolean constructor paramaters.
AccountsSelector selector = new AccountsSelector().enforceFLS();
Added methods are: enforceFLS(); includeFieldSetFields(); ignoreCRUD(); unsortedSelectFields();
enforceFLS(); includeFieldSetFields(); ignoreCRUD(); unsortedSelectFields();
@wimvelzeboer oooh thanks for this, been wanting this for a while!
@wimvelzeboer nice enrichment! Do you expect test classes to be added? To ensure coverage of those new sweet functions? :)
This will add a more fluent design to the fflib_SObjectSelector class constructor, so that you can configure it without having to use the Boolean constructor paramaters.
AccountsSelector selector = new AccountsSelector().enforceFLS();
Added methods are:
enforceFLS(); includeFieldSetFields(); ignoreCRUD(); unsortedSelectFields();