From 95c7cfeac8791e063eb1207113e7c12422e2d554 Mon Sep 17 00:00:00 2001 From: Dekel Date: Fri, 28 Dec 2018 21:56:20 +0200 Subject: [PATCH] Restored special params clean-up --- src/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.js b/src/index.js index 08b51ba..f6f33aa 100644 --- a/src/index.js +++ b/src/index.js @@ -177,6 +177,11 @@ class Service extends AdapterService { * @param methodKey */ objectify (query, params, parentKey, methodKey) { + if (params.$eager) { delete params.$eager } + if (params.$joinEager) { delete params.$joinEager } + if (params.$joinRelation) { delete params.$joinRelation } + if (params.$pick) { delete params.$pick } + Object.keys(params || {}).forEach(key => { const value = params[key]