diff options
| author | HampusM <hampus@hampusmat.com> | 2023-09-18 22:35:58 +0200 | 
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2023-09-18 22:35:58 +0200 | 
| commit | 4fd0d6b4951b08a20d5378bca75561109dc6d036 (patch) | |
| tree | 8496d679e7ee3debcd415ed563911e2166594212 /macros/src/injectable | |
| parent | de2e1349f459f7f69226b2decd366be690426ea7 (diff) | |
refactor!: make the async DI container not inside a Arc
BREAKING CHANGE: The async DI container is no longer inside of a Arc. This affects AsyncBindingBuilder, AsyncBindingScopeConfigurator, AsyncBindingWhenConfigurator & AsyncInjectable
Diffstat (limited to 'macros/src/injectable')
| -rw-r--r-- | macros/src/injectable/implementation.rs | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/macros/src/injectable/implementation.rs b/macros/src/injectable/implementation.rs index 3e22f91..b3e57c2 100644 --- a/macros/src/injectable/implementation.rs +++ b/macros/src/injectable/implementation.rs @@ -232,9 +232,8 @@ impl<Dep: IDependency> InjectableImpl<Dep>              > for #self_type              {                  fn resolve<'di_container, 'fut>( -                    #di_container_var: &'di_container std::sync::Arc< -                        syrette::di_container::asynchronous::AsyncDIContainer -                    >, +                    #di_container_var: &'di_container +                        syrette::di_container::asynchronous::AsyncDIContainer,                      mut #dependency_history_var: syrette::dependency_history::DependencyHistory                  ) -> syrette::future::BoxFuture<                      'fut, | 
