Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use async_trait::async_trait;
|
||||
use dagger_sdk::Container;
|
||||
|
||||
@@ -34,7 +36,7 @@ pub trait SqlxExt {
|
||||
|
||||
impl SqlxExt for RustService {
|
||||
fn with_sqlx(&mut self) -> &mut Self {
|
||||
self.with_stage(super::RustServiceStage::BeforeBuild(Box::new(Sqlx::new(
|
||||
self.with_stage(super::RustServiceStage::BeforeBuild(Arc::new(Sqlx::new(
|
||||
self.client.clone(),
|
||||
))));
|
||||
|
||||
|
Reference in New Issue
Block a user