google / google/built_value.dart

Add support for migrating field wire name

Open
#1,118 6 comments 1 reaction 1 assignee Claimed by @davidmorgan View on GitHub
p2 / feature request
Dominant language
Dart
Stars
886
Forks
195
Avg merge
1d 11h
Merged PRs (30d)
4

Description

Let's say you have a built value with a field with wire name `src`, and you need to change that wire name to `source`. What is the recommended method for migrating this field such that the class can still be deserialized with `src` and `source` fields, but only serializes the `source` field?

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.