From 5102a7ccd2973549d0775ee2fc499f0fb6add2d1 Mon Sep 17 00:00:00 2001 From: Ryoga Kitagawa 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 38ef764f2..bb70e41d2 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( - Result<(Value, Vec>), GraphQLError>, + pub Result<(Value, Vec>), GraphQLError>, ); impl GraphQLResponse