Closed 4l1fe closed 5 months ago
@4l1fe Thanks for the feedback.
No, not really. The entire idea behind the exception is to support autowiring and let people know what is still missing. You would need to call the function and set the arguments in the call (even if they are set to None) to superpass this behaviour.
Hey, very nice and lighweight di library!
I'm trying to inject a positional argument to a descendent decorator while it has more positionals. The piece of code, it's more likely incorrent, but whatever:
For now, an error is raised:
To be honest, i expected that
di
only injectes thebot_cmd
argument and leave the othershandler_args, handler_params
as is, not check them for beign in a container. Could it be defined to make a partial check?