Indeed, modifyClass is not ideal, especially in a core plugin.
The best thing would be to introduce a new valueTransformer in core, so that we have a ‘supported’ way to do this kind of thing.
Indeed, modifyClass is not ideal, especially in a core plugin.
The best thing would be to introduce a new valueTransformer in core, so that we have a ‘supported’ way to do this kind of thing.