SoC and the Apex Common Library Tutorial Series Part 11: Implementing The Domain Layer with the Apex Common Library
The template for every Domain Class you create Every Domain layer class you create for an object should at minimum have the following logic in it for it to work as expected. To understand why the Constructor inner class is necessary in these classes check out the triggerHandler method in the fflib_SObjectDomain class here: fflib_SObjectDomain…