- Issue created by @donquixote
- Merge request !10879Issue #3498999: Support object with __invoke() for #pre_render. → (Open) created by donquixote
- 🇩🇪Germany donquixote
An alternative would be to put #[TrustedCallback] on the class itself. Which means we would have to change the #[Attribute] attribute on that attribute class.
But I think it is simpler and less "special" to just have the attribute on the __invoke() method.