fflib-apex-common icon indicating copy to clipboard operation
fflib-apex-common copied to clipboard

Add helper methods to fflib_SObjectDomain for changed fields

Open dhoechst opened this issue 10 years ago • 3 comments
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 avatar Jun 16 '15 19:06 dhoechst

@dhoechst @afawcett https://github.com/financialforcedev/fflib-apex-common/pull/87

MayTheSForceBeWithYou avatar Sep 29 '15 18:09 MayTheSForceBeWithYou

Thanks will take a look soon! :+1:

afawcett avatar Oct 10 '15 10:10 afawcett

@MayTheSForceBeWithYou This looks good, though the PR is currently in conflict, if you can sort, happy to merge. :+1:

afawcett avatar Mar 22 '16 22:03 afawcett