We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f777e8 commit cab6decCopy full SHA for cab6dec
juniper/src/types/pointers.rs
@@ -215,6 +215,23 @@ where
215
}
216
217
218
+impl<S, T, CtxT> crate::GraphQLTypeAsync<S> for Box<T>
219
+where
220
+ T: crate::GraphQLTypeAsync<S, Context = CtxT>,
221
+ T::TypeInfo: Send + Sync,
222
+ S: ScalarValue + Send + Sync,
223
+ CtxT: Send + Sync,
224
+{
225
+ fn resolve_async<'a>(
226
+ &'a self,
227
+ info: &'a Self::TypeInfo,
228
+ selection_set: Option<&'a [Selection<S>]>,
229
+ executor: &'a Executor<Self::Context, S>,
230
+ ) -> crate::BoxFuture<'a, crate::ExecutionResult<S>> {
231
+ (**self).resolve_async(info, selection_set, executor)
232
+ }
233
+}
234
+
235
impl<'e, S, T> crate::GraphQLTypeAsync<S> for std::sync::Arc<T>
236
where
237
S: ScalarValue + Send + Sync,
0 commit comments