eHealthAfrica / data-models-deprecated

Validation for standard data models
Apache License 2.0
4 stars 8 forks source link

Add the `deprecated` property to locations #92

Closed danse closed 8 years ago

danse commented 8 years ago

In the call centre, a deprecated property is used in order to show legacy locations, without allowing them to be used for new data. This allows to perform breaking changes smoothly, in two steps:

This way, migrations do not need to be synchronised with new releases.

This property has to be added to the data model

febeling commented 8 years ago

Yes, correct. Step 2-3 are optional though, I'd argue.

emig commented 8 years ago

Optional and good to have, correct.

febeling commented 8 years ago

The important win imho is, that any requirement for synchronous migration and deployment of new location sets is lifted. That's mostly why I mention the optional nature.

emig commented 8 years ago

it is a good comment, will edit that