{"action":"created","comment":{"url":"https://api.github.com/repos/parse-community/parse-server/pulls/comments/226498328","pull_request_review_id":166336257,"id":226498328,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjQ5ODMyOA==","diff_hunk":"@@ -203,10 +203,13 @@ Auth.prototype.getRolesForUser = function() {\n     return query.execute().then(({ results }) => results);","path":"src/Auth.js","position":1,"original_position":1,"commit_id":"90db03a52880d91a14ebdddfe8effe9db0ea8d1f","original_commit_id":"90db03a52880d91a14ebdddfe8effe9db0ea8d1f","user":{"login":"flovilmart","id":364568,"node_id":"MDQ6VXNlcjM2NDU2OA==","avatar_url":"https://avatars3.githubusercontent.com/u/364568?v=4","gravatar_id":"","url":"https://api.github.com/users/flovilmart","html_url":"https://github.com/flovilmart","followers_url":"https://api.github.com/users/flovilmart/followers","following_url":"https://api.github.com/users/flovilmart/following{/other_user}","gists_url":"https://api.github.com/users/flovilmart/gists{/gist_id}","starred_url":"https://api.github.com/users/flovilmart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flovilmart/subscriptions","organizations_url":"https://api.github.com/users/flovilmart/orgs","repos_url":"https://api.github.com/users/flovilmart/repos","events_url":"https://api.github.com/users/flovilmart/events{/privacy}","received_events_url":"https://api.github.com/users/flovilmart/received_events","type":"User","site_admin":false},"body":"RestQueey will just return you results, you’ll need the code, similar to what I shared above, most precisely the continueWhile part. Gimme à minute, i’ll Try to give you a quick snippet :) in the meantime, can you check to add a test for this? Creating a user with many roles (200) and ensuring your fix is effective :)","created_at":"2018-10-18T23:41:46Z","updated_at":"2018-10-18T23:41:46Z","html_url":"https://github.com/parse-community/parse-server/pull/5132#discussion_r226498328","pull_request_url":"https://api.github.com/repos/parse-community/parse-server/pulls/5132","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/parse-community/parse-server/pulls/comments/226498328"},"html":{"href":"https://github.com/parse-community/parse-server/pull/5132#discussion_r226498328"},"pull_request":{"href":"https://api.github.com/repos/parse-community/parse-server/pulls/5132"}},"in_reply_to_id":226496047},"pull_request":{"url":"https://api.github.com/repos/parse-community/parse-server/pulls/5132","id":224127736,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MTI3NzM2","html_url":"https://github.com/parse-community/parse-server/pull/5132","diff_url":"https://github.com/parse-community/parse-server/pull/5132.diff","patch_url":"https://github.com/parse-community/parse-server/pull/5132.patch","issue_url":"https://api.github.com/repos/parse-community/parse-server/issues/5132","number":5132,"state":"open","locked":false,"title":"Fix Limitation Role #5131","user":{"login":"Moumouls","id":27959372,"node_id":"MDQ6VXNlcjI3OTU5Mzcy","avatar_url":"https://avatars3.githubusercontent.com/u/27959372?v=4","gravatar_id":"","url":"https://api.github.com/users/Moumouls","html_url":"https://github.com/Moumouls","followers_url":"https://api.github.com/users/Moumouls/followers","following_url":"https://api.github.com/users/Moumouls/following{/other_user}","gists_url":"https://api.github.com/users/Moumouls/gists{/gist_id}","starred_url":"https://api.github.com/users/Moumouls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moumouls/subscriptions","organizations_url":"https://api.github.com/users/Moumouls/orgs","repos_url":"https://api.github.com/users/Moumouls/repos","events_url":"https://api.github.com/users/Moumouls/events{/privacy}","received_events_url":"https://api.github.com/users/Moumouls/received_events","type":"User","site_admin":false},"body":"Allow to manage Live Query on Role based Object for Parse.User that have more than 100 Parse.Role","created_at":"2018-10-18T23:17:39Z","updated_at":"2018-10-18T23:41:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4c190139f4ea7185f4665cc55514a82c7027855","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/parse-community/parse-server/pulls/5132/commits","review_comments_url":"https://api.github.com/repos/parse-community/parse-server/pulls/5132/comments","review_comment_url":"https://api.github.com/repos/parse-community/parse-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/parse-community/parse-server/issues/5132/comments","statuses_url":"https://api.github.com/repos/parse-community/parse-server/statuses/90db03a52880d91a14ebdddfe8effe9db0ea8d1f","head":{"label":"Moumouls:Live-Query-Roles","ref":"Live-Query-Roles","sha":"90db03a52880d91a14ebdddfe8effe9db0ea8d1f","user":{"login":"Moumouls","id":27959372,"node_id":"MDQ6VXNlcjI3OTU5Mzcy","avatar_url":"https://avatars3.githubusercontent.com/u/27959372?v=4","gravatar_id":"","url":"https://api.github.com/users/Moumouls","html_url":"https://github.com/Moumouls","followers_url":"https://api.github.com/users/Moumouls/followers","following_url":"https://api.github.com/users/Moumouls/following{/other_user}","gists_url":"https://api.github.com/users/Moumouls/gists{/gist_id}","starred_url":"https://api.github.com/users/Moumouls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moumouls/subscriptions","organizations_url":"https://api.github.com/users/Moumouls/orgs","repos_url":"https://api.github.com/users/Moumouls/repos","events_url":"https://api.github.com/users/Moumouls/events{/privacy}","received_events_url":"https://api.github.com/users/Moumouls/received_events","type":"User","site_admin":false},"repo":{"id":153696044,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM2OTYwNDQ=","name":"parse-server","full_name":"Moumouls/parse-server","private":false,"owner":{"login":"Moumouls","id":27959372,"node_id":"MDQ6VXNlcjI3OTU5Mzcy","avatar_url":"https://avatars3.githubusercontent.com/u/27959372?v=4","gravatar_id":"","url":"https://api.github.com/users/Moumouls","html_url":"https://github.com/Moumouls","followers_url":"https://api.github.com/users/Moumouls/followers","following_url":"https://api.github.com/users/Moumouls/following{/other_user}","gists_url":"https://api.github.com/users/Moumouls/gists{/gist_id}","starred_url":"https://api.github.com/users/Moumouls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moumouls/subscriptions","organizations_url":"https://api.github.com/users/Moumouls/orgs","repos_url":"https://api.github.com/users/Moumouls/repos","events_url":"https://api.github.com/users/Moumouls/events{/privacy}","received_events_url":"https://api.github.com/users/Moumouls/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Moumouls/parse-server","description":"Parse-compatible API server module for Node/Express","fork":true,"url":"https://api.github.com/repos/Moumouls/parse-server","forks_url":"https://api.github.com/repos/Moumouls/parse-server/forks","keys_url":"https://api.github.com/repos/Moumouls/parse-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Moumouls/parse-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Moumouls/parse-server/teams","hooks_url":"https://api.github.com/repos/Moumouls/parse-server/hooks","issue_events_url":"https://api.github.com/repos/Moumouls/parse-server/issues/events{/number}","events_url":"https://api.github.com/repos/Moumouls/parse-server/events","assignees_url":"https://api.github.com/repos/Moumouls/parse-server/assignees{/user}","branches_url":"https://api.github.com/repos/Moumouls/parse-server/branches{/branch}","tags_url":"https://api.github.com/repos/Moumouls/parse-server/tags","blobs_url":"https://api.github.com/repos/Moumouls/parse-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Moumouls/parse-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Moumouls/parse-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Moumouls/parse-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Moumouls/parse-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Moumouls/parse-server/languages","stargazers_url":"https://api.github.com/repos/Moumouls/parse-server/stargazers","contributors_url":"https://api.github.com/repos/Moumouls/parse-server/contributors","subscribers_url":"https://api.github.com/repos/Moumouls/parse-server/subscribers","subscription_url":"https://api.github.com/repos/Moumouls/parse-server/subscription","commits_url":"https://api.github.com/repos/Moumouls/parse-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Moumouls/parse-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Moumouls/parse-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Moumouls/parse-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Moumouls/parse-server/contents/{+path}","compare_url":"https://api.github.com/repos/Moumouls/parse-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Moumouls/parse-server/merges","archive_url":"https://api.github.com/repos/Moumouls/parse-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Moumouls/parse-server/downloads","issues_url":"https://api.github.com/repos/Moumouls/parse-server/issues{/number}","pulls_url":"https://api.github.com/repos/Moumouls/parse-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Moumouls/parse-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Moumouls/parse-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Moumouls/parse-server/labels{/name}","releases_url":"https://api.github.com/repos/Moumouls/parse-server/releases{/id}","deployments_url":"https://api.github.com/repos/Moumouls/parse-server/deployments","created_at":"2018-10-18T22:38:51Z","updated_at":"2018-10-18T22:38:54Z","pushed_at":"2018-10-18T23:23:12Z","git_url":"git://github.com/Moumouls/parse-server.git","ssh_url":"git@github.com:Moumouls/parse-server.git","clone_url":"https://github.com/Moumouls/parse-server.git","svn_url":"https://github.com/Moumouls/parse-server","homepage":"http://parseplatform.org","size":7508,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"parse-community:master","ref":"master","sha":"c692f075d18a4de9bdda24123682963413c69a69","user":{"login":"parse-community","id":26932219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2OTMyMjE5","avatar_url":"https://avatars3.githubusercontent.com/u/26932219?v=4","gravatar_id":"","url":"https://api.github.com/users/parse-community","html_url":"https://github.com/parse-community","followers_url":"https://api.github.com/users/parse-community/followers","following_url":"https://api.github.com/users/parse-community/following{/other_user}","gists_url":"https://api.github.com/users/parse-community/gists{/gist_id}","starred_url":"https://api.github.com/users/parse-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parse-community/subscriptions","organizations_url":"https://api.github.com/users/parse-community/orgs","repos_url":"https://api.github.com/users/parse-community/repos","events_url":"https://api.github.com/users/parse-community/events{/privacy}","received_events_url":"https://api.github.com/users/parse-community/received_events","type":"Organization","site_admin":false},"repo":{"id":50603846,"node_id":"MDEwOlJlcG9zaXRvcnk1MDYwMzg0Ng==","name":"parse-server","full_name":"parse-community/parse-server","private":false,"owner":{"login":"parse-community","id":26932219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2OTMyMjE5","avatar_url":"https://avatars3.githubusercontent.com/u/26932219?v=4","gravatar_id":"","url":"https://api.github.com/users/parse-community","html_url":"https://github.com/parse-community","followers_url":"https://api.github.com/users/parse-community/followers","following_url":"https://api.github.com/users/parse-community/following{/other_user}","gists_url":"https://api.github.com/users/parse-community/gists{/gist_id}","starred_url":"https://api.github.com/users/parse-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parse-community/subscriptions","organizations_url":"https://api.github.com/users/parse-community/orgs","repos_url":"https://api.github.com/users/parse-community/repos","events_url":"https://api.github.com/users/parse-community/events{/privacy}","received_events_url":"https://api.github.com/users/parse-community/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/parse-community/parse-server","description":"Parse-compatible API server module for Node/Express","fork":false,"url":"https://api.github.com/repos/parse-community/parse-server","forks_url":"https://api.github.com/repos/parse-community/parse-server/forks","keys_url":"https://api.github.com/repos/parse-community/parse-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parse-community/parse-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parse-community/parse-server/teams","hooks_url":"https://api.github.com/repos/parse-community/parse-server/hooks","issue_events_url":"https://api.github.com/repos/parse-community/parse-server/issues/events{/number}","events_url":"https://api.github.com/repos/parse-community/parse-server/events","assignees_url":"https://api.github.com/repos/parse-community/parse-server/assignees{/user}","branches_url":"https://api.github.com/repos/parse-community/parse-server/branches{/branch}","tags_url":"https://api.github.com/repos/parse-community/parse-server/tags","blobs_url":"https://api.github.com/repos/parse-community/parse-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parse-community/parse-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parse-community/parse-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/parse-community/parse-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parse-community/parse-server/statuses/{sha}","languages_url":"https://api.github.com/repos/parse-community/parse-server/languages","stargazers_url":"https://api.github.com/repos/parse-community/parse-server/stargazers","contributors_url":"https://api.github.com/repos/parse-community/parse-server/contributors","subscribers_url":"https://api.github.com/repos/parse-community/parse-server/subscribers","subscription_url":"https://api.github.com/repos/parse-community/parse-server/subscription","commits_url":"https://api.github.com/repos/parse-community/parse-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/parse-community/parse-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/parse-community/parse-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/parse-community/parse-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/parse-community/parse-server/contents/{+path}","compare_url":"https://api.github.com/repos/parse-community/parse-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parse-community/parse-server/merges","archive_url":"https://api.github.com/repos/parse-community/parse-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parse-community/parse-server/downloads","issues_url":"https://api.github.com/repos/parse-community/parse-server/issues{/number}","pulls_url":"https://api.github.com/repos/parse-community/parse-server/pulls{/number}","milestones_url":"https://api.github.com/repos/parse-community/parse-server/milestones{/number}","notifications_url":"https://api.github.com/repos/parse-community/parse-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parse-community/parse-server/labels{/name}","releases_url":"https://api.github.com/repos/parse-community/parse-server/releases{/id}","deployments_url":"https://api.github.com/repos/parse-community/parse-server/deployments","created_at":"2016-01-28T18:29:14Z","updated_at":"2018-10-18T17:56:15Z","pushed_at":"2018-10-18T23:23:13Z","git_url":"git://github.com/parse-community/parse-server.git","ssh_url":"git@github.com:parse-community/parse-server.git","clone_url":"https://github.com/parse-community/parse-server.git","svn_url":"https://github.com/parse-community/parse-server","homepage":"http://parseplatform.org","size":7508,"stargazers_count":15645,"watchers_count":15645,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4064,"mirror_url":null,"archived":false,"open_issues_count":49,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4064,"open_issues":49,"watchers":15645,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/parse-community/parse-server/pulls/5132"},"html":{"href":"https://github.com/parse-community/parse-server/pull/5132"},"issue":{"href":"https://api.github.com/repos/parse-community/parse-server/issues/5132"},"comments":{"href":"https://api.github.com/repos/parse-community/parse-server/issues/5132/comments"},"review_comments":{"href":"https://api.github.com/repos/parse-community/parse-server/pulls/5132/comments"},"review_comment":{"href":"https://api.github.com/repos/parse-community/parse-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/parse-community/parse-server/pulls/5132/commits"},"statuses":{"href":"https://api.github.com/repos/parse-community/parse-server/statuses/90db03a52880d91a14ebdddfe8effe9db0ea8d1f"}},"author_association":"NONE"}}
{"actor":{"display_login":"flovilmart"}}