apex-enterprise-patterns / fflib-apex-common

Common Apex Library supporting Apex Enterprise Patterns and much more!
BSD 3-Clause "New" or "Revised" License
911 stars 517 forks source link

Change addError method to public and virtual #423

Open wimvelzeboer opened 2 years ago

wimvelzeboer commented 2 years ago

It can be useful to add one error string to all the records of a domain directly from a service class, therefore it needs to be public. And it is also useful to change its behaviour just like the other addError methods, therefore adding virtual


This change is Reviewable