mirror of
https://github.com/kotovalexarian/jsonapis.rs.git
synced 2025-06-02 18:32:25 -04:00
Add struct field Document.errors
This commit is contained in:
parent
71c0795222
commit
b315de3381
4 changed files with 162 additions and 11 deletions
|
@ -142,6 +142,7 @@ fn main() {
|
|||
}),
|
||||
}),
|
||||
]),
|
||||
"errors": json!(null),
|
||||
});
|
||||
|
||||
let actual_json = serde_json::to_string(&document).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue