Open sjkaliski opened 6 years ago
The package only focuses on the presentation/ETL layer (how the response looks). It should also bring "up to date" a request at an older version.
Example:
POST /items at 2018-01-01 submits
POST /items
2018-01-01
{ "title": "foo" }
But at 2018-03-01 aka master
2018-03-01
master
{ "name": "foo" }
The package should convert title -> name, allow API to process the request, and then convert name -> title.
title
name
Each action needs two parts, right? A migrate up and a migrate down
The package only focuses on the presentation/ETL layer (how the response looks). It should also bring "up to date" a request at an older version.
Example:
POST /items
at2018-01-01
submitsBut at
2018-03-01
akamaster
The package should convert
title
->name
, allow API to process the request, and then convertname
->title
.