fflib-apex-common
fflib-apex-common copied to clipboard
Add helper methods to fflib_SObjectDomain for changed fields
trafficstars
A common need in triggers is to identify whether a field or set of fields has been changed. I like the model that is used in the TriggerX framework to pass in a list of Strings or a list of sObjectFields. I'd also add a way to pass in a field set to see if any fields in the field set have changed.
@dhoechst @afawcett https://github.com/financialforcedev/fflib-apex-common/pull/87
Thanks will take a look soon! :+1:
@MayTheSForceBeWithYou This looks good, though the PR is currently in conflict, if you can sort, happy to merge. :+1: