diff --git a/juniper/src/ast.rs b/juniper/src/ast.rs
index d48d8e2b..64675fc1 100644
--- a/juniper/src/ast.rs
+++ b/juniper/src/ast.rs
@@ -160,7 +160,7 @@ pub trait FromInputValue: Sized {
/// Losslessly clones a Rust data type into an InputValue.
pub trait ToInputValue: Sized {
/// Performs the conversion.
- fn to(&self) -> InputValue;
+ fn to_input_value(&self) -> InputValue;
}
impl<'a> Type<'a> {
diff --git a/juniper/src/executor.rs b/juniper/src/executor.rs
index c830a896..bb12cb19 100644
--- a/juniper/src/executor.rs
+++ b/juniper/src/executor.rs
@@ -485,7 +485,7 @@ impl<'r> Registry<'r> {
where
T: GraphQLType + ToInputValue + FromInputValue,
{
- Argument::new(name, self.get_type::