From b1543f480a5c06abca925c2798d287e18633e1bc Mon Sep 17 00:00:00 2001 From: Josh Marlow Date: Tue, 17 Oct 2017 21:31:15 -0400 Subject: [PATCH] Fixed case where .unwrap was being called instead of the Option just being propagated up the call chain --- juniper/src/types/base.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juniper/src/types/base.rs b/juniper/src/types/base.rs index f1deca83..ad5f3c2a 100644 --- a/juniper/src/types/base.rs +++ b/juniper/src/types/base.rs @@ -111,7 +111,7 @@ impl<'a> Arguments<'a> { { match self.args { Some(ref args) => match args.get(key) { - Some(v) => Some(v.convert().unwrap()), + Some(v) => v.convert(), None => None, }, None => None,