From 047f68383f267e63553d802f85d7f3038411517b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Georget?= Date: Fri, 5 Feb 2016 18:00:47 +0100 Subject: [PATCH] Write some TODOs --- lib/configuration/hooks/jsonapi/helpers/request.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/configuration/hooks/jsonapi/helpers/request.js b/lib/configuration/hooks/jsonapi/helpers/request.js index 7dcaa7df51..386d9da049 100644 --- a/lib/configuration/hooks/jsonapi/helpers/request.js +++ b/lib/configuration/hooks/jsonapi/helpers/request.js @@ -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 {