We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 213c972 commit 469851dCopy full SHA for 469851d
apollo-router/src/graphql/mod.rs
@@ -158,7 +158,7 @@ impl Error {
158
}
159
160
161
- pub(crate) fn from_value(value: Value) -> Result<Error, MalformedResponseError> {
+ pub fn from_value(value: Value) -> Result<Error, MalformedResponseError> {
162
let mut object = ensure_object!(value).map_err(|error| MalformedResponseError {
163
reason: format!("invalid error within `errors`: {error}"),
164
})?;
0 commit comments