Open
Description
❓ Question
I'm new to pluggy, and trying to decide whether to use it as the plugin manager in a project I work on (looks great!). One of the main things I find myself wanting more control over is the exact order in which implementations of a specific hook are called (beyond simply registering an @hookimpl
with trylast
or tryfirst
). Specifically, I would ultimately like to let the end user reorder plugin implementations of specific hooks after plugin registration.
To accomplish that I find myself tempted to write methods to reorder _HookCaller._nonwrappers
... but because that is a private attribute, I am hesitant to do so and wonder if I am maybe misunderstanding a fundamental design principle here. Is that a valid approach, or discouraged?