diff --git a/src/types/maybe_undefined.rs b/src/types/maybe_undefined.rs index 4fdef844..3451269d 100644 --- a/src/types/maybe_undefined.rs +++ b/src/types/maybe_undefined.rs @@ -1,4 +1,5 @@ use crate::{registry, InputValueResult, InputValueType, Type, Value}; +use serde::{Deserialize, Serialize}; use std::borrow::Cow; /// Similar to `Option`, but it has three states, `undefined`, `null` and `x`. @@ -45,6 +46,7 @@ use std::borrow::Cow; /// } /// ``` #[allow(missing_docs)] +#[derive(Serialize, Deserialize, Clone, Debug)] pub enum MaybeUndefined { Undefined, Null,