use std::borrow::Cow;
use std::pin::Pin;
use indexmap::IndexMap;
use crate::futures_util::Stream;
use crate::parser::types::Field;
use crate::registry::{MetaType, Registry};
use crate::{
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