Improve performance of Dynamic Application Factories

Also added a method overload to provide a Package Name.
Useful for DX based second generation packages. Now each package can have their own bindings.
This commit is contained in:
wim
2023-09-01 15:39:25 +01:00
parent b658e6226b
commit a0fc1bd10d
22 changed files with 416 additions and 139 deletions
@@ -111,6 +111,5 @@ public with sharing class fflib_MockSObjectUtil
Lead record = new Lead(Id = fflib_IDGenerator.generate(Schema.Lead.SObjectType));
SObject result = addFieldValue(record, Lead.ConvertedDate, today);
System.assertEquals(today, result.get(Lead.ConvertedDate));
System.debug('result: '+result);
}
}