diff --git a/src/macros/input_object.rs b/src/macros/input_object.rs index dbc43bc8..f527ed83 100644 --- a/src/macros/input_object.rs +++ b/src/macros/input_object.rs @@ -70,7 +70,7 @@ macro_rules! graphql_input_object { println!("Found variable for {:?}: {:?} in {:?}", n, v, $var); match v { - $( Some(&&InputValue::Null) | None if true => $default, )* + $( Some(&&$crate::InputValue::Null) | None if true => $default, )* Some(v) => $crate::FromInputValue::from(v).unwrap(), _ => $crate::FromInputValue::from(&$crate::InputValue::null()).unwrap() }