Merge pull request #484 from xla/graphql-value-null-example

Add example of how to construct null in graphql_value
This commit is contained in:
David Pedersen 2019-12-15 15:42:46 +01:00 committed by GitHub
commit 4180019679
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,6 +250,8 @@ where
/// ///
/// # fn main() { /// # fn main() {
/// # let _: V = /// # let _: V =
/// graphql_value!(None);
/// # let _: V =
/// graphql_value!(1234); /// graphql_value!(1234);
/// # let _: V = /// # let _: V =
/// graphql_value!("test"); /// graphql_value!("test");