The current method of registering plugin functions and hooks is explicit, but bulky. Would be good to also offer another option to just decorate plugin methods as @plugin_function and allow hooks to be decorated with @plugin_hook. Hooks would just be blank class methods, with the decorator overriding it with the hook callable.
The current method of registering plugin functions and hooks is explicit, but bulky. Would be good to also offer another option to just decorate plugin methods as `@plugin_function` and allow hooks to be decorated with `@plugin_hook`. Hooks would just be blank class methods, with the decorator overriding it with the hook callable.
The current method of registering plugin functions and hooks is explicit, but bulky. Would be good to also offer another option to just decorate plugin methods as
@plugin_functionand allow hooks to be decorated with@plugin_hook. Hooks would just be blank class methods, with the decorator overriding it with the hook callable.Done