- 
                Notifications
    You must be signed in to change notification settings 
- Fork 17
Add support for the document:deleteFields API action #636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should add the timeout option from your other PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 😉
… unexpected token with ESLint
| Codecov Report
 @@           Coverage Diff           @@
##            7-dev     #636   +/-   ##
=======================================
  Coverage   86.15%   86.16%           
=======================================
  Files          34       34           
  Lines        1589     1597    +8     
  Branches      279      281    +2     
=======================================
+ Hits         1369     1376    +7     
- Misses        162      163    +1     
  Partials       58       58           
 Continue to review full report at Codecov. 
 | 
| @@ -0,0 +1,7 @@ | |||
| try { | |||
| const response = await kuzzle.document.deleteFields('nyc-open-data', 'yellow-taxi', 'some-id', ['bar'], {source: true}); | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit
| const response = await kuzzle.document.deleteFields('nyc-open-data', 'yellow-taxi', 'some-id', ['bar'], {source: true}); | |
| const response = await kuzzle.document.deleteFields('nyc-open-data', 'yellow-taxi', 'some-id', ['bar'], { source: true }); | 
What does this PR do ?
This PR add the action
⚠️  Depends on #632
document:deleteFieldsand the associated documentation and tests