//! This code was AUTOGENERATED using the Codama library.
use {crate::types::graphql::ExternalPluginAdapterSchemaGraphQL, juniper::GraphQLObject};

#[derive(Debug, Clone, GraphQLObject)]
#[graphql(name = "AppDataUpdateInfo")]
pub struct AppDataUpdateInfoGraphQL {
    pub schema: Option<ExternalPluginAdapterSchemaGraphQL>,
}

impl From<crate::types::AppDataUpdateInfo> for AppDataUpdateInfoGraphQL {
    fn from(original: crate::types::AppDataUpdateInfo) -> Self {
        Self {
            schema: original.schema.map(|v| v.into()),
        }
    }
}
