Commit 751be4e
committed
character: make CharacterTraitLink.spoiler/lie Optional
Per the kana field-selection contract these fields are only present
when the caller explicitly requests them in `fields=`. Marking them
Optional keeps `traits{name}` (without spoiler/lie) parseable by
dacite instead of raising MissingValueError.1 parent 0263ef6 commit 751be4e
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
0 commit comments