From 26bfe7652f34c6743deeeb9edb1b28d26aafc216 Mon Sep 17 00:00:00 2001 From: Alexander Simmerl Date: Sun, 15 Dec 2019 13:31:24 +0100 Subject: [PATCH] Add example of how to construct null in graphql_value --- juniper/src/value/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/juniper/src/value/mod.rs b/juniper/src/value/mod.rs index 3a61ccc7..eafd1523 100644 --- a/juniper/src/value/mod.rs +++ b/juniper/src/value/mod.rs @@ -250,6 +250,8 @@ where /// /// # fn main() { /// # let _: V = +/// graphql_value!(None); +/// # let _: V = /// graphql_value!(1234); /// # let _: V = /// graphql_value!("test");