Why methods used to register records for update are called registerDirty instead of registerUpdate? #431
-
Hello. Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
wimvelzeboer
Nov 4, 2022
Replies: 1 comment 2 replies
-
Hi @lDante93 In the fflib_SObjectUnitOfWork is only the registerClean missing, I had a discussion about adding that a long while ago, but at the end it did not go through. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
daveespo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @lDante93
The reason for this is that it is the standard terminology of the design pattern "Unit Of Work".
See also: https://martinfowler.com/eaaCatalog/unitOfWork.html
In the fflib_SObjectUnitOfWork is only the registerClean missing, I had a discussion about adding that a long while ago, but at the end it did not go through.