Closed lonnieleecomer closed 4 years ago
and why doesn't the RecordsById
arg passed to onBeforeUpdate, etc suffice?
Agreed with @cropredyHelix -- it seems like RecordsById
is what you want
The native Trigger
property accessors can't be mocked in unit tests
I don't understand why the Trigger.newMap hasn't been exposed using the triggerHandler method? This is very useful in many instances. Can someone explain why it isn't in there? Seems like the easiest fix ever for lacking functionality.