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

#[derive(Debug, Clone, GraphQLObject)]
#[graphql(name = "Edition")]
pub struct EditionGraphQL {
    pub number: U32,
}

impl From<crate::types::Edition> for EditionGraphQL {
    fn from(original: crate::types::Edition) -> Self {
        Self {
            number: carbon_core::graphql::primitives::U32(original.number),
        }
    }
}
