feat: dagger-run support

This commit is contained in:
2023-04-30 00:09:07 +02:00
committed by Kasper Juul Hermansen
parent 7d186c477d
commit 2a29a66217
4 changed files with 35 additions and 20 deletions

View File

@@ -18,7 +18,7 @@ pub fn render_object(funcs: &CommonFunctions, t: &FullType) -> eyre::Result<rust
Ok(quote! {
#[derive(Clone)]
pub struct $(t.name.pipe(|s| format_name(s))) {
pub proc: $arc<$child>,
pub proc: Option<$arc<$child>>,
pub selection: $selection,
pub graphql_client: $graphql_client
}