From e5f655044e3b8e8f796bbbd201e405b52fee90fa Mon Sep 17 00:00:00 2001 From: Aaron Housh Date: Sat, 4 Apr 2020 20:27:11 -0700 Subject: [PATCH] Add debug derive to GraphQLResponse (#599) --- juniper/src/http/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/juniper/src/http/mod.rs b/juniper/src/http/mod.rs index 896d8855..9b5bbde3 100644 --- a/juniper/src/http/mod.rs +++ b/juniper/src/http/mod.rs @@ -154,6 +154,7 @@ where /// This struct implements Serialize, so you can simply serialize this /// to JSON and send it over the wire. Use the `is_ok` method to determine /// whether to send a 200 or 400 HTTP status code. +#[derive(Debug)] pub struct GraphQLResponse<'a, S = DefaultScalarValue>( Result<(Value, Vec>), GraphQLError<'a>>, );