diff --git a/crates/dagger-codegen/src/lib.rs b/crates/dagger-codegen/src/lib.rs index 7d89de1..cc233b1 100644 --- a/crates/dagger-codegen/src/lib.rs +++ b/crates/dagger-codegen/src/lib.rs @@ -13,7 +13,7 @@ use self::generator::DynGenerator; fn set_schema_parents(mut schema: Schema) -> Schema { for t in schema.types.as_mut().into_iter().flatten().flatten() { let t_parent = t.full_type.clone(); - for mut field in t.full_type.fields.as_mut().into_iter().flatten() { + for field in t.full_type.fields.as_mut().into_iter().flatten() { field.parent_type = Some(t_parent.clone()); } }