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

Does facet provide better support/primitives to implement versioned structs? #852

Unanswered
mainrs asked this question in Q&A
Discussion options

I am trying to parse Minecraft game metadata: advancements, loot tables, enchantments and more. They are defined as JSON files. But there schema changes between versions.

serde doesnt really come with builtin features required to provide versionied structs that autoconvert. There are some derive crates that add it.

In my mind, facet should come with better support, since it allows for runtime reflection IIRC. Is there already a plan/support for versioned structs/enums? If not, would there be any methods/functioanlity that might help me realize this?

Thanks for this great library and a new fresh approach you brought with it!

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 によって変換されたページ (->オリジナル) /