Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Schema evoluntion in Flexbuffers? #8418

Unanswered
tisonkun asked this question in Q&A
Discussion options

I'm using Flexbuffers Rust now. And I wonder if it supports schema evolution.

That is, now I have a struct:

#[derive(Debug, Clone, Serialize, Deserialize)]
struct EntryData {
 data: Vec<u8>,
}

And maybe I'll later extend it to:

#[derive(Debug, Clone, Serialize, Deserialize)]
struct EntryData {
 kvs: HashMap<String, String>,
 data: Vec<u8>,
}

Will the bytes encodes with the previous struct can be decoded to the later one?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /