Eric Kintzer

Results 22 issues of Eric Kintzer

A [common pattern](https://andyinthecloud.com/category/apex/page/7/) is: ``` opp.AccountId.addError( error('You must provide an Account for Opportunities for existing Customers.', opp, Opportunity.AccountId) ); ``` Note: SFDC `addError` supports these signatures: - addError(String errorMsg) -...

enhancement

A minor point but worthy of an enhancement If you define your Application class with Application.Domain _before_ Application.Selector, when you attempt to use this construction: fflib_ISObjectDomain domain = Application.Domain.newInstance(sObjIds); such...

enhancement
doc enhancement

Encrypted fields can't be used in LIKE or Order By - fflib_SObjectSelectorTest uses Account.Name in order By - fflib_SobjectUnitOfWorkTest uses Opportunity.Name in LIKE and Order BY

bug

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....

enhancement

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 -...

enhancement

Great session and we've adopted this pattern in our org Normally, one wants to `Log.emit()` at the end of a transaction. Some transaction boundaries are easy to ascertain (edge points:...

question

When the domain class was split into triggerHandler and domain classes, the [PR #300](https://github.com/apex-enterprise-patterns/fflib-apex-common/pull/300) author @wimvelzeboer mentioned that domains could now be arbitrary ApexTypes It would be nice to see...

For my Account LEX Record page, I created a custom quick action on Account `New_B2B_Contact` that creates a Contact record. I added it to my page layout and then added...

DLRS depends on apex-common apex-common has several test methods that use LIKE or ORDER BY on potentially encryptable OOTB standard fields: - Account.Name - Opportunity.Name see issues: - https://github.com/financialforcedev/fflib-apex-common/issues/194 -...

enhancement

Not really an issue but I read your comment on ApexMocks and after dismissing it myself for some time due to complex syntax; I bit the bullet and took the...