Write some TODOs

This commit is contained in:
Aurélien Georget 2016-02-05 18:00:47 +01:00
parent 8b7aa8ebce
commit 047f68383f

View File

@ -44,6 +44,9 @@ module.exports = {
break;
case 'PATCH':
case 'POST':
// TODO:
// - Detect relationships edition or addition
// - Fetch and format body
try {
yield this.fetchSchema(ctx);
yield this.formatBody(ctx);
@ -52,7 +55,9 @@ module.exports = {
}
break;
case 'DELETE':
// Nothing to do
// TODO:
// - Detect relationships deletion
// - Fetch and format body
break;
default:
throw {