Trigger Handler functionality (small bugfix)

A trigger handler based on trigger actions configured via custom metadata. It separates the trigger logic per class, and is utilizing the fflib_UnitOfWork to execute the trigger actions.

Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
This commit is contained in:
WimVelzeboer
2021-10-27 17:55:04 +01:00
parent 497b7ad2df
commit ed87378fba
@@ -149,7 +149,8 @@ public virtual with sharing class fflib_TriggerHandler
private fflib_ITriggerContext getTriggerContext()
{
if (triggerContext == null) constructTriggerContext();
if (triggerContext == null) triggerContext = constructTriggerContext();
return triggerContext;
}
}