//! This code was AUTOGENERATED using the Codama library.
use {carbon_core::graphql::primitives::Json, serde_json};

// Data-carrying enum exposed as Json in GraphQL
pub type ExternalPluginAdapterUpdateInfoGraphQL = Json;

impl From<crate::types::ExternalPluginAdapterUpdateInfo>
    for ExternalPluginAdapterUpdateInfoGraphQL
{
    fn from(original: crate::types::ExternalPluginAdapterUpdateInfo) -> Self {
        carbon_core::graphql::primitives::Json(
            serde_json::to_value(&original).unwrap_or(serde_json::Value::Null),
        )
    }
}
