Expose inner value of GraphQLResponse.

This commit is contained in:
Ryoga Kitagawa 2024-11-12 13:46:48 +09:00 committed by GitHub
parent f552654b6e
commit 5102a7ccd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>