Skip to content

Conversation

Aschen
Copy link
Contributor

@Aschen Aschen commented Oct 7, 2019

What does this PR do?

Remove the local check of the arguments since now we have specifics errors code sent by Kuzzle.

Other changes

  • Add id and code properties to KuzzleError
  • Allow custom sdkName and sdkInstanceId in the volatile

@codecov
Copy link

codecov bot commented Oct 9, 2019

Codecov Report

Merging #450 into 7-dev will decrease coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##            7-dev   #450      +/-   ##
========================================
- Coverage   96.07%    96%   -0.08%     
========================================
  Files          33     33              
  Lines        1630   1350     -280     
========================================
- Hits         1566   1296     -270     
+ Misses         64     54      -10
Impacted Files Coverage Δ
src/controllers/collection.js 100% <ø> (+4.93%) ⬆️
src/controllers/security/index.js 99.25% <ø> (-0.33%) ⬇️
src/controllers/index.js 100% <ø> (ø) ⬆️
src/controllers/document.js 96% <ø> (+1.08%) ⬆️
src/controllers/realtime/index.js 97.77% <ø> (-0.64%) ⬇️
src/Kuzzle.js 94.46% <100%> (ø) ⬆️
src/KuzzleError.js 100% <100%> (ø) ⬆️
src/controllers/auth.js 92.59% <100%> (-0.27%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 00bf113...9c24dd2. Read the comment docs.

@lgtm-com
Copy link
Contributor

lgtm-com bot commented Oct 9, 2019

This pull request introduces 1 alert when merging 879b67b into 9a82451 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

scottinet pushed a commit that referenced this pull request Oct 11, 2019
## What does this PR do?

`v6` version of #450 

Remove the local check of the arguments since now we have specifics errors code sent by Kuzzle.

### Other changes

 - Add error codes `id` and `code` properties to `KuzzleError`
@Aschen Aschen merged commit 5ebd014 into 7-dev Oct 15, 2019
@Aschen Aschen deleted the remove-local-arguments-check branch October 15, 2019 09:06
@Aschen Aschen mentioned this pull request Nov 5, 2019
Aschen added a commit that referenced this pull request Nov 5, 2019
# [7.0.0-beta.2](https://github.com/kuzzleio/sdk-javascript/releases/tag/7.0.0-beta.2) (2019-11-05)


#### Bug fixes

- [ [#453](#453) ] Fix connected property   ([Aschen](https://github.com/Aschen))

#### Enhancements

- [ [#450](#450) ] Remove local checks for arguments   ([Aschen](https://github.com/Aschen))
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants