vlingo / xoom-schemata

The VLINGO XOOM Schema Registry.
https://vlingo.io
Mozilla Public License 2.0
17 stars 9 forks source link

Backward and Forward Compatibility Checks Required #50

Closed VaughnVernon closed 4 years ago

VaughnVernon commented 5 years ago

When adding a new SchemaVersion with a major version pre-existing on an earlier SchemaVersion, the new version specification must be backward compatible with the former, and the former forward compatible with the latter.

Example:

Existing: SchemaVersion (1.0.0) New: SchemaVersion (1.1.0)

SchemaVersion (1.1.0) must be backward compatible with SchemaVersion (1.0.0) and SchemaVersion (1.0.0) must be forward compatible with SchemaVersion (1.1.0).

This basically means:

These can all be determined by comparing the parsed results of both versions.

wwerner commented 4 years ago

Closed w/ https://github.com/vlingo/vlingo-schemata/pull/116