From 5102a7ccd2973549d0775ee2fc499f0fb6add2d1 Mon Sep 17 00:00:00 2001 From: Ryoga Kitagawa <ryoga.kitagawa@gmail.com> Date: Tue, 12 Nov 2024 13:46:48 +0900 Subject: [PATCH] Expose inner value of GraphQLResponse. --- juniper/src/http/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juniper/src/http/mod.rs b/juniper/src/http/mod.rs index 38ef764f..bb70e41d 100644 --- a/juniper/src/http/mod.rs +++ b/juniper/src/http/mod.rs @@ -165,7 +165,7 @@ where /// whether to send a 200 or 400 HTTP status code. #[derive(Clone, Debug, PartialEq)] pub struct GraphQLResponse<S = DefaultScalarValue>( - Result<(Value<S>, Vec<ExecutionError<S>>), GraphQLError>, + pub Result<(Value<S>, Vec<ExecutionError<S>>), GraphQLError>, ); impl<S> GraphQLResponse<S>