Commit ba366fd
committed
Add a feature for serde deny unknown fields
Currently there is no way to turn off the deny unknown fields attribute.
This can cause issues when using the crate in cases where there are new
fields added that are not yet in the types structs, e.g. in unmerged
Core PRs.
Add a feature to types that can be used to enable this attribute, which
is off by default.
Forward the feature to client and then to node.
Use the feature in integration_test, through the node dependency.1 parent 2406d12 commit ba366fd
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments