Trait juniper::ExtractTypeFromStream
source · [−]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.
Associated Types
type 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]