yorkie-team / yorkie

Yorkie is a document store for collaborative applications.
https://yorkie.dev
Apache License 2.0
771 stars 143 forks source link

Versioned Document Schema & Validation #971

Open hackerwins opened 3 weeks ago

hackerwins commented 3 weeks ago

Description:

Currently, Yorkie allows developers to express their application models using a Document that adheres to a specific schema. While each SDK takes advantage of type safety features provided by their respective languages(e.g. TypeScript Support), developers frequently need to modify these schemas when updating application versions.

To better manage data reliably according to these varying schemas, it is essential to implement a system where developers can define and migrate Document schemas by version. Providing a feature in the Dashboard for defining versioned document schemas will address this need.

Moreover, it would be beneficial to refer to the Schema Validation feature in Liveblocks during the design and implementation phases. More information can be found here.

Screenshot 2024-08-20 at 6 25 00 PM

Why:

This enhancement would provide a structured approach to handle schema changes, enabling developers to manage their data more efficiently across different versions of their applications.

blurfx commented 3 days ago

I'm interested in this topic, can I get involved?