Commit f9148ab
committed
fix: narrow toJSONwithObjects to only serialize Parse.ACL, preserving Date instances
Calling val.toJSON() on all objects with a toJSON method converts Date
instances to ISO strings, breaking directAccess consumers. Narrowing
to Parse.ACL fixes the original bug without regressing Date fields.1 parent 03a62e1 commit f9148ab
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3659 | 3659 | | |
3660 | 3660 | | |
3661 | 3661 | | |
| 3662 | + | |
| 3663 | + | |
| 3664 | + | |
3662 | 3665 | | |
3663 | 3666 | | |
3664 | 3667 | | |
3665 | 3668 | | |
3666 | 3669 | | |
3667 | 3670 | | |
3668 | 3671 | | |
| 3672 | + | |
| 3673 | + | |
| 3674 | + | |
3669 | 3675 | | |
3670 | 3676 | | |
3671 | 3677 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
0 commit comments