Several times recently, I’ve had to add a simple attribute above a data view declaration. For a simple data view, this is as easy as redefining the data view and adding the attribute. However, if the data view has a data view delegate, and the data view delegate calls private methods, the amount of copy/paste code needed in order to add a single line of code is ridiculous.
Am I missing an easier way to do this? It feels like there should be an event or something to use, similar to adding an attribute to a DAC field on CacheAttached.