Skip to content

Commit e5f6550

Browse files
authored
Add debug derive to GraphQLResponse (#599)
1 parent adc8d7b commit e5f6550

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

juniper/src/http/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ where
154154
/// This struct implements Serialize, so you can simply serialize this
155155
/// to JSON and send it over the wire. Use the `is_ok` method to determine
156156
/// whether to send a 200 or 400 HTTP status code.
157+
#[derive(Debug)]
157158
pub struct GraphQLResponse<'a, S = DefaultScalarValue>(
158159
Result<(Value<S>, Vec<ExecutionError<S>>), GraphQLError<'a>>,
159160
);

0 commit comments

Comments
 (0)