You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be nice if the #[inject] annotations on individual functions were all that were required, but AFAICT, the #[inject(init_foo, init_bar)] is still needed to thunk between them.
The text was updated successfully, but these errors were encountered:
The current dependency injection syntax is pretty gnarly and looks like this:
It'd be nice to be able to use an attribute macro on the "injector" functions instead. Something like this:
It'd be nice if the
#[inject]
annotations on individual functions were all that were required, but AFAICT, the#[inject(init_foo, init_bar)]
is still needed to thunk between them.The text was updated successfully, but these errors were encountered: