diff --git a/crates/dagger-codegen/src/handlers/input.rs b/crates/dagger-codegen/src/handlers/input.rs index 1296564..a7b59cd 100644 --- a/crates/dagger-codegen/src/handlers/input.rs +++ b/crates/dagger-codegen/src/handlers/input.rs @@ -124,7 +124,7 @@ impl Handler for Input { #[cfg(test)] mod tests { use graphql_introspection_query::introspection_response::{ - FullType, FullTypeFields, FullTypeInputFields, InputValue, TypeRef, __TypeKind, + FullType, FullTypeInputFields, InputValue, TypeRef, __TypeKind, }; use pretty_assertions::assert_eq; diff --git a/crates/dagger-codegen/src/handlers/mod.rs b/crates/dagger-codegen/src/handlers/mod.rs index d0b5ae7..2692deb 100644 --- a/crates/dagger-codegen/src/handlers/mod.rs +++ b/crates/dagger-codegen/src/handlers/mod.rs @@ -10,7 +10,7 @@ use genco::prelude::*; use graphql_introspection_query::introspection_response::FullType; pub trait Handler { - fn predicate(&self, t: &FullType) -> bool { + fn predicate(&self, _t: &FullType) -> bool { false } diff --git a/crates/dagger-codegen/src/handlers/scalar.rs b/crates/dagger-codegen/src/handlers/scalar.rs index 4bebcb2..7138e39 100644 --- a/crates/dagger-codegen/src/handlers/scalar.rs +++ b/crates/dagger-codegen/src/handlers/scalar.rs @@ -36,7 +36,7 @@ impl Handler for Scalar { }) } - fn render_impl(&self, t: &FullType) -> eyre::Result { + fn render_impl(&self, _t: &FullType) -> eyre::Result { todo!() } }