Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPGCore.DataEditor support for data variants #27

Open
Fydar opened this issue May 9, 2021 · 0 comments
Open

RPGCore.DataEditor support for data variants #27

Fydar opened this issue May 9, 2021 · 0 comments
Assignees
Labels
📦 RPGCore.DataEditor Issue related to the RPGCore.DataEditor package New feature or request

Comments

@Fydar
Copy link
Owner

Fydar commented May 9, 2021

Add support for authoring data variants to the RPGCore data editor.

Data variants should adopt a standardized format such as JSON Patch.

The data editor will need to support reading JSON or XML paths to determine what data needs to be changed as apart of the patch.

Patches should also be optimal; they should include no instances of data being added and then removed.

There should be APIs to apply the patches to the original file, as well as APIs to unpack the variant file. I would like to take inspiration from the nested prefab system in Unity.

Using patches saved over time could be used for change tracking to inform an undo/redo system.

Generating patches from diffs generated by source control could also be useful for previewing changes made to files and creating custom merging tools.

@Fydar Fydar self-assigned this May 9, 2021
@Fydar Fydar added New feature or request 📦 RPGCore.DataEditor Issue related to the RPGCore.DataEditor package labels Aug 25, 2021
@Fydar Fydar moved this to Todo in RPGCore Development Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 RPGCore.DataEditor Issue related to the RPGCore.DataEditor package New feature or request
Projects
Development

No branches or pull requests

1 participant