Skip to content

Commit

Permalink
Expose inner value of GraphQLResponse.
Browse files Browse the repository at this point in the history
  • Loading branch information
RyogaK authored Nov 12, 2024
1 parent f552654 commit 5102a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juniper/src/http/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5102a7c

Please sign in to comment.