google / google/built_value.dart

Handling `DeserializationError` for backwards compatibility

Open
#1,342 3 comments 0 reactions 1 assignee Claimed by @davidmorgan View on GitHub
question
Dominant language
Dart
Stars
886
Forks
195
Avg merge
1d 11h
Merged PRs (30d)
4

Description

Is there a way we can add some fallback value to a field (behaviour similar to enums) if the type does not exist for deserialization ? We want to add more types in new app releases but it breaks previous versions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.