use std::{borrow::Cow, pin::Pin};
use indexmap::IndexMap;
use crate::{
futures_util::stream::Stream,
parser::types::Field,
registry::{MetaType, MetaTypeId, Registry},
CacheControl, ContainerType, Context, ContextSelectionSet, OutputType, Positioned, Response,
ServerResult, SimpleObject, SubscriptionType, Value,
};
#[doc(hidden)]
pub struct MergedObject(pub A, pub B);
#[async_trait::async_trait]
impl ContainerType for MergedObject
where
A: ContainerType,
B: ContainerType,
{
async fn resolve_field(&self, ctx: &Context<'_>) -> ServerResult