pub trait GraphQLTypeAsync<S = DefaultScalarValue>: GraphQLValueAsync<S> + GraphQLType<S>where
    Self::Context: Sync,
    Self::TypeInfo: Sync,
    S: ScalarValue + Send + Sync,
{ }
Expand description

Extension of GraphQLType trait with asynchronous queries/mutations resolvers.

It’s automatically implemented for GraphQLValueAsync and GraphQLType implementers, so doesn’t require manual or code-generated implementation.

Implementors§

source§

impl<S, T> GraphQLTypeAsync<S> for Twhere
    T: GraphQLValueAsync<S> + GraphQLType<S> + ?Sized,
    T::Context: Sync,
    T::TypeInfo: Sync,
    S: ScalarValue + Send + Sync,