Add debug derive to GraphQLResponse (#599)
This commit is contained in:
parent
adc8d7be2d
commit
e5f655044e
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ where
|
||||||
/// This struct implements Serialize, so you can simply serialize this
|
/// 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
|
/// 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.
|
/// whether to send a 200 or 400 HTTP status code.
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct GraphQLResponse<'a, S = DefaultScalarValue>(
|
pub struct GraphQLResponse<'a, S = DefaultScalarValue>(
|
||||||
Result<(Value<S>, Vec<ExecutionError<S>>), GraphQLError<'a>>,
|
Result<(Value<S>, Vec<ExecutionError<S>>), GraphQLError<'a>>,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue