google / google/flatbuffers

Deprecated-but-readable table fields?

Open
#7,940 17 comments 1 reaction 0 assignees View on GitHub
codegen pr-requested
Dominant language
C++
Stars
26.5k
Forks
3.7k
PR merge metrics
No merged PRs in 30d

Description

I'm wondering if there's a way to have fields that are deprecated for writing, but still have read accessors available. We have a bunch of serialized objects where we would like to soft-migrate to the non-deprecated attributes, but would still like to read the old values if they exist.

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.