Please sign in to comment.
(fix) Fixes fromJSON in the presence of getters
Previously .fromJSON used Object.assign, which would fail if the type defined getter-only fields for some of the properties being reified. This patch fixes that by replacing the entire descriptor instead of assigning a value to it.
- Loading branch information...
Showing with 2 additions and 1 deletion.