forte icon indicating copy to clipboard operation
forte copied to clipboard

Add versioning to data pack representation

Open hunterhector opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. Data Packs are serialized as JSON objects to disk. However, there have been changes to the data pack during the development of Forte. This creates some backward compatibility issues with the tool.

Describe the solution you'd like

  1. Create a versioning system for data pack serialization format, and add them to the data pack output, as well as the data pack logic.
  2. Define the JSON Schema for each new version. (Should be solved #547)
  3. Create test cases to make sure the data of different versions can be consumed by the system
  4. Create tests to make sure the schema validation passes. (Should be solved via #547)

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

hunterhector avatar Aug 10 '21 20:08 hunterhector