vlingo / xoom-schemata

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

[Domain] Review semantic version validation rules #75

Closed wwerner closed 4 years ago

wwerner commented 5 years ago

Currently, a schema version of maj.min+1.patch or maj+1.min.patch cannot be created if preceeded by maj.min.patch in status Draft. A version of maj.min.patch+1 can be created.

It is not entirely clear to me what the actual business rules encompassing previousVersion, currentVersion and status should be.

wwerner commented 4 years ago

From @VaughnVernon in https://github.com/vlingo/vlingo-schemata/issues/105#issuecomment-562899359:

version backward compatibility check when new version with same major version added.

Disallowed

Allowed