We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb11a23 commit efffcd1Copy full SHA for efffcd1
graphql_client/src/lib.rs
@@ -290,8 +290,9 @@ pub struct Response<Data> {
290
pub data: Option<Data>,
291
/// The top-level errors returned by the server.
292
pub errors: Option<Vec<Error>>,
293
- /// The top-level errors returned by the server.
294
- pub extensions: Option<serde_json::Value>,
+ /// Additional extensions. Their exact format is defined by the server.
+ /// See [GraphQL Response Specification](https://github.com/graphql/graphql-spec/blob/main/spec/Section%207%20--%20Response.md#response-format)
295
+ pub extensions: Option<HashMap<String, serde_json::Value>>,
296
}
297
298
#[cfg(test)]
0 commit comments