Commit db134d6
fix: Shallow copy input dict in
Avoid mutating the caller's dict by making a shallow copy before
modifying empty Optional fields.
Co-Authored-By: Rahul Kaushal <kaushalrahul15@gmail.com>_empty_field_to_none validator1 parent 41f2ec0 commit db134d6
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| |||
0 commit comments