Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 95c7cfe

Browse files
author
Dekel
committed
Restored special params clean-up
1 parent 2ac9e59 commit 95c7cfe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,11 @@ class Service extends AdapterService {
177177
* @param methodKey
178178
*/
179179
objectify (query, params, parentKey, methodKey) {
180+
if (params.$eager) { delete params.$eager }
181+
if (params.$joinEager) { delete params.$joinEager }
182+
if (params.$joinRelation) { delete params.$joinRelation }
183+
if (params.$pick) { delete params.$pick }
184+
180185
Object.keys(params || {}).forEach(key => {
181186
const value = params[key]
182187

0 commit comments

Comments
 (0)