File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ impl Display for PathFragment {
181181/// extensions: None,
182182/// },
183183/// ]),
184+ /// extensions: None,
184185/// };
185186///
186187/// assert_eq!(body, expected);
@@ -275,6 +276,7 @@ impl Display for Error {
275276/// dogs: vec![Dog { name: "Strelka".to_owned() }],
276277/// }),
277278/// errors: Some(vec![]),
279+ /// extensions: None,
278280/// };
279281///
280282/// assert_eq!(body, expected);
@@ -288,6 +290,8 @@ pub struct Response<Data> {
288290 pub data : Option < Data > ,
289291 /// The top-level errors returned by the server.
290292 pub errors : Option < Vec < Error > > ,
293+ /// The top-level errors returned by the server.
294+ pub extensions : Option < serde_json:: Value > ,
291295}
292296
293297#[ cfg( test) ]
You can’t perform that action at this time.
0 commit comments