You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered some use cases where partial serialization would have been useful.
For example, I get a User instance from the server and deserialize it. Then, a user updates some fields in a form and wants to save the form. The project serializes the form data to a User object (this.serialize(formData, User)), but it will throw an error because the User data is incomplete.
It would be nice if we could have a flag that allows skipping incomplete objects.
The text was updated successfully, but these errors were encountered:
I encountered some use cases where partial serialization would have been useful.
For example, I get a User instance from the server and deserialize it. Then, a user updates some fields in a form and wants to save the form. The project serializes the form data to a User object (
this.serialize(formData, User)
), but it will throw an error because the User data is incomplete.It would be nice if we could have a flag that allows skipping incomplete objects.
The text was updated successfully, but these errors were encountered: