Skip to content

Commit 0a3bbf8

Browse files
committed
Fix bug in input object macro
1 parent 9d520d7 commit 0a3bbf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros/input_object.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ macro_rules! graphql_input_object {
7070
println!("Found variable for {:?}: {:?} in {:?}", n, v, $var);
7171

7272
match v {
73-
$( Some(&&InputValue::Null) | None if true => $default, )*
73+
$( Some(&&$crate::InputValue::Null) | None if true => $default, )*
7474
Some(v) => $crate::FromInputValue::from(v).unwrap(),
7575
_ => $crate::FromInputValue::from(&$crate::InputValue::null()).unwrap()
7676
}

0 commit comments

Comments
 (0)