{"action":"opened","number":450,"pull_request":{"url":"https://api.github.com/repos/kuzzleio/sdk-javascript/pulls/450","id":325186216,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI1MTg2MjE2","html_url":"https://github.com/kuzzleio/sdk-javascript/pull/450","diff_url":"https://github.com/kuzzleio/sdk-javascript/pull/450.diff","patch_url":"https://github.com/kuzzleio/sdk-javascript/pull/450.patch","issue_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/issues/450","number":450,"state":"open","locked":false,"title":"Remove local checks for arguments","user":{"login":"Aschen","id":4447392,"node_id":"MDQ6VXNlcjQ0NDczOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/4447392?v=4","gravatar_id":"","url":"https://api.github.com/users/Aschen","html_url":"https://github.com/Aschen","followers_url":"https://api.github.com/users/Aschen/followers","following_url":"https://api.github.com/users/Aschen/following{/other_user}","gists_url":"https://api.github.com/users/Aschen/gists{/gist_id}","starred_url":"https://api.github.com/users/Aschen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aschen/subscriptions","organizations_url":"https://api.github.com/users/Aschen/orgs","repos_url":"https://api.github.com/users/Aschen/repos","events_url":"https://api.github.com/users/Aschen/events{/privacy}","received_events_url":"https://api.github.com/users/Aschen/received_events","type":"User","site_admin":false},"body":"## What does this PR do?\r\n\r\nRemove the local check of the arguments since now we have specifics errors code sent by Kuzzle.\r\n\r\n### Other changes\r\n\r\n - Add error codes `id` and `code` properties to `KuzzleError`","created_at":"2019-10-07T08:35:44Z","updated_at":"2019-10-07T08:35:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"Aschen","id":4447392,"node_id":"MDQ6VXNlcjQ0NDczOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/4447392?v=4","gravatar_id":"","url":"https://api.github.com/users/Aschen","html_url":"https://github.com/Aschen","followers_url":"https://api.github.com/users/Aschen/followers","following_url":"https://api.github.com/users/Aschen/following{/other_user}","gists_url":"https://api.github.com/users/Aschen/gists{/gist_id}","starred_url":"https://api.github.com/users/Aschen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aschen/subscriptions","organizations_url":"https://api.github.com/users/Aschen/orgs","repos_url":"https://api.github.com/users/Aschen/repos","events_url":"https://api.github.com/users/Aschen/events{/privacy}","received_events_url":"https://api.github.com/users/Aschen/received_events","type":"User","site_admin":false},"assignees":[{"login":"Aschen","id":4447392,"node_id":"MDQ6VXNlcjQ0NDczOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/4447392?v=4","gravatar_id":"","url":"https://api.github.com/users/Aschen","html_url":"https://github.com/Aschen","followers_url":"https://api.github.com/users/Aschen/followers","following_url":"https://api.github.com/users/Aschen/following{/other_user}","gists_url":"https://api.github.com/users/Aschen/gists{/gist_id}","starred_url":"https://api.github.com/users/Aschen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aschen/subscriptions","organizations_url":"https://api.github.com/users/Aschen/orgs","repos_url":"https://api.github.com/users/Aschen/repos","events_url":"https://api.github.com/users/Aschen/events{/privacy}","received_events_url":"https://api.github.com/users/Aschen/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1567934062,"node_id":"MDU6TGFiZWwxNTY3OTM0MDYy","url":"https://api.github.com/repos/kuzzleio/sdk-javascript/labels/7-dev","name":"7-dev","color":"dc54f7","default":false},{"id":562373685,"node_id":"MDU6TGFiZWw1NjIzNzM2ODU=","url":"https://api.github.com/repos/kuzzleio/sdk-javascript/labels/changelog:enhancements","name":"changelog:enhancements","color":"84b6eb","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/pulls/450/commits","review_comments_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/pulls/450/comments","review_comment_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/issues/450/comments","statuses_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/statuses/c3793254e8cd5dbb641820f6994aab0c60081232","head":{"label":"kuzzleio:remove-local-arguments-check","ref":"remove-local-arguments-check","sha":"c3793254e8cd5dbb641820f6994aab0c60081232","user":{"login":"kuzzleio","id":12933347,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTMzMzQ3","avatar_url":"https://avatars1.githubusercontent.com/u/12933347?v=4","gravatar_id":"","url":"https://api.github.com/users/kuzzleio","html_url":"https://github.com/kuzzleio","followers_url":"https://api.github.com/users/kuzzleio/followers","following_url":"https://api.github.com/users/kuzzleio/following{/other_user}","gists_url":"https://api.github.com/users/kuzzleio/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzzleio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzzleio/subscriptions","organizations_url":"https://api.github.com/users/kuzzleio/orgs","repos_url":"https://api.github.com/users/kuzzleio/repos","events_url":"https://api.github.com/users/kuzzleio/events{/privacy}","received_events_url":"https://api.github.com/users/kuzzleio/received_events","type":"Organization","site_admin":false},"repo":{"id":40353752,"node_id":"MDEwOlJlcG9zaXRvcnk0MDM1Mzc1Mg==","name":"sdk-javascript","full_name":"kuzzleio/sdk-javascript","private":false,"owner":{"login":"kuzzleio","id":12933347,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTMzMzQ3","avatar_url":"https://avatars1.githubusercontent.com/u/12933347?v=4","gravatar_id":"","url":"https://api.github.com/users/kuzzleio","html_url":"https://github.com/kuzzleio","followers_url":"https://api.github.com/users/kuzzleio/followers","following_url":"https://api.github.com/users/kuzzleio/following{/other_user}","gists_url":"https://api.github.com/users/kuzzleio/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzzleio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzzleio/subscriptions","organizations_url":"https://api.github.com/users/kuzzleio/orgs","repos_url":"https://api.github.com/users/kuzzleio/repos","events_url":"https://api.github.com/users/kuzzleio/events{/privacy}","received_events_url":"https://api.github.com/users/kuzzleio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kuzzleio/sdk-javascript","description":"Official Javascript SDK for Kuzzle","fork":false,"url":"https://api.github.com/repos/kuzzleio/sdk-javascript","forks_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/forks","keys_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/teams","hooks_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/hooks","issue_events_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/issues/events{/number}","events_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/events","assignees_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/assignees{/user}","branches_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/branches{/branch}","tags_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/tags","blobs_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/git/refs{/sha}","trees_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/statuses/{sha}","languages_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/languages","stargazers_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/stargazers","contributors_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/contributors","subscribers_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/subscribers","subscription_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/subscription","commits_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/commits{/sha}","git_commits_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/git/commits{/sha}","comments_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/comments{/number}","issue_comment_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/issues/comments{/number}","contents_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/contents/{+path}","compare_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/merges","archive_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/downloads","issues_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/issues{/number}","pulls_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/pulls{/number}","milestones_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/milestones{/number}","notifications_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/labels{/name}","releases_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/releases{/id}","deployments_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/deployments","created_at":"2015-08-07T09:54:38Z","updated_at":"2019-10-06T06:02:53Z","pushed_at":"2019-10-07T07:32:30Z","git_url":"git://github.com/kuzzleio/sdk-javascript.git","ssh_url":"git@github.com:kuzzleio/sdk-javascript.git","clone_url":"https://github.com/kuzzleio/sdk-javascript.git","svn_url":"https://github.com/kuzzleio/sdk-javascript","homepage":"http://docs.kuzzle.io/sdk/js/6/","size":35445,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":6,"open_issues":7,"watchers":23,"default_branch":"master"}},"base":{"label":"kuzzleio:7-dev","ref":"7-dev","sha":"9a824517bfa070533c621a32d8c61a431f62f0b2","user":{"login":"kuzzleio","id":12933347,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTMzMzQ3","avatar_url":"https://avatars1.githubusercontent.com/u/12933347?v=4","gravatar_id":"","url":"https://api.github.com/users/kuzzleio","html_url":"https://github.com/kuzzleio","followers_url":"https://api.github.com/users/kuzzleio/followers","following_url":"https://api.github.com/users/kuzzleio/following{/other_user}","gists_url":"https://api.github.com/users/kuzzleio/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzzleio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzzleio/subscriptions","organizations_url":"https://api.github.com/users/kuzzleio/orgs","repos_url":"https://api.github.com/users/kuzzleio/repos","events_url":"https://api.github.com/users/kuzzleio/events{/privacy}","received_events_url":"https://api.github.com/users/kuzzleio/received_events","type":"Organization","site_admin":false},"repo":{"id":40353752,"node_id":"MDEwOlJlcG9zaXRvcnk0MDM1Mzc1Mg==","name":"sdk-javascript","full_name":"kuzzleio/sdk-javascript","private":false,"owner":{"login":"kuzzleio","id":12933347,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTMzMzQ3","avatar_url":"https://avatars1.githubusercontent.com/u/12933347?v=4","gravatar_id":"","url":"https://api.github.com/users/kuzzleio","html_url":"https://github.com/kuzzleio","followers_url":"https://api.github.com/users/kuzzleio/followers","following_url":"https://api.github.com/users/kuzzleio/following{/other_user}","gists_url":"https://api.github.com/users/kuzzleio/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzzleio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzzleio/subscriptions","organizations_url":"https://api.github.com/users/kuzzleio/orgs","repos_url":"https://api.github.com/users/kuzzleio/repos","events_url":"https://api.github.com/users/kuzzleio/events{/privacy}","received_events_url":"https://api.github.com/users/kuzzleio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kuzzleio/sdk-javascript","description":"Official Javascript SDK for Kuzzle","fork":false,"url":"https://api.github.com/repos/kuzzleio/sdk-javascript","forks_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/forks","keys_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/teams","hooks_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/hooks","issue_events_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/issues/events{/number}","events_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/events","assignees_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/assignees{/user}","branches_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/branches{/branch}","tags_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/tags","blobs_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/git/refs{/sha}","trees_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/statuses/{sha}","languages_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/languages","stargazers_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/stargazers","contributors_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/contributors","subscribers_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/subscribers","subscription_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/subscription","commits_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/commits{/sha}","git_commits_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/git/commits{/sha}","comments_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/comments{/number}","issue_comment_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/issues/comments{/number}","contents_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/contents/{+path}","compare_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/merges","archive_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/downloads","issues_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/issues{/number}","pulls_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/pulls{/number}","milestones_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/milestones{/number}","notifications_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/labels{/name}","releases_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/releases{/id}","deployments_url":"https://api.github.com/repos/kuzzleio/sdk-javascript/deployments","created_at":"2015-08-07T09:54:38Z","updated_at":"2019-10-06T06:02:53Z","pushed_at":"2019-10-07T07:32:30Z","git_url":"git://github.com/kuzzleio/sdk-javascript.git","ssh_url":"git@github.com:kuzzleio/sdk-javascript.git","clone_url":"https://github.com/kuzzleio/sdk-javascript.git","svn_url":"https://github.com/kuzzleio/sdk-javascript","homepage":"http://docs.kuzzle.io/sdk/js/6/","size":35445,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":6,"open_issues":7,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kuzzleio/sdk-javascript/pulls/450"},"html":{"href":"https://github.com/kuzzleio/sdk-javascript/pull/450"},"issue":{"href":"https://api.github.com/repos/kuzzleio/sdk-javascript/issues/450"},"comments":{"href":"https://api.github.com/repos/kuzzleio/sdk-javascript/issues/450/comments"},"review_comments":{"href":"https://api.github.com/repos/kuzzleio/sdk-javascript/pulls/450/comments"},"review_comment":{"href":"https://api.github.com/repos/kuzzleio/sdk-javascript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kuzzleio/sdk-javascript/pulls/450/commits"},"statuses":{"href":"https://api.github.com/repos/kuzzleio/sdk-javascript/statuses/c3793254e8cd5dbb641820f6994aab0c60081232"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":19,"deletions":1405,"changed_files":15}}
{"actor":{"display_login":"Aschen"}}