pub trait ExtractTypeFromStream<T, S>where
S: ScalarValue,{
type Item: GraphQLValue<S>;
}
Expand description
This trait is used in juniper::graphql_subscription
macro to get stream’s
item type that implements GraphQLValue
from type alias provided
by user.
Required Associated Types§
Sourcetype Item: GraphQLValue<S>
type Item: GraphQLValue<S>
Stream’s return Value that will be returned if
no errors occured. Is used to determine field type in
#[juniper::graphql_subscription]