Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial serialization or deserialization #176

Open
andreas-aeschlimann opened this issue Feb 9, 2022 · 0 comments
Open

Partial serialization or deserialization #176

andreas-aeschlimann opened this issue Feb 9, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@andreas-aeschlimann
Copy link
Member

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.

@andreas-aeschlimann andreas-aeschlimann added the enhancement New feature or request label Feb 9, 2022
@andreas-aeschlimann andreas-aeschlimann self-assigned this Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant