{"action":"created","comment":{"url":"https://api.github.com/repos/signumsoftware/framework/pulls/comments/212823649","pull_request_review_id":149535766,"id":212823649,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjgyMzY0OQ==","diff_hunk":"@@ -56,6 +57,16 @@ public static async Task<List<Lite<Entity>>> FindLiteLikeAsync(Implementations i\n             }\r\n         }\r\n \r\n+        private static bool TryParsePrimaryKey(string value, Type type, out PrimaryKey id)\r\n+        {\r\n+            if (!Regex.IsMatch(value, \"^id[:]?\", RegexOptions.IgnoreCase))\r\n+            {\r\n+                id = default(PrimaryKey);\r\n+                return false;\r\n+            }\r\n+\r\n+            return PrimaryKey.TryParse(Regex.Match(value, \"^id[:]?(.*)\", RegexOptions.IgnoreCase).Groups[1].ToString(), type, out id);\r","path":"Signum.Engine/DynamicQuery/AutoCompleteUtils.cs","position":20,"original_position":20,"commit_id":"1f2d9ecaca58c4ba06e6dee134b538f7d91a5cd3","original_commit_id":"1f2d9ecaca58c4ba06e6dee134b538f7d91a5cd3","user":{"login":"olmobrutall","id":720953,"node_id":"MDQ6VXNlcjcyMDk1Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/720953?v=4","gravatar_id":"","url":"https://api.github.com/users/olmobrutall","html_url":"https://github.com/olmobrutall","followers_url":"https://api.github.com/users/olmobrutall/followers","following_url":"https://api.github.com/users/olmobrutall/following{/other_user}","gists_url":"https://api.github.com/users/olmobrutall/gists{/gist_id}","starred_url":"https://api.github.com/users/olmobrutall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olmobrutall/subscriptions","organizations_url":"https://api.github.com/users/olmobrutall/orgs","repos_url":"https://api.github.com/users/olmobrutall/repos","events_url":"https://api.github.com/users/olmobrutall/events{/privacy}","received_events_url":"https://api.github.com/users/olmobrutall/received_events","type":"User","site_admin":false},"body":"You can avoid doing two Regex by doing Match and then checking m.IsSuccesss","created_at":"2018-08-26T11:56:18Z","updated_at":"2018-08-26T11:56:23Z","html_url":"https://github.com/signumsoftware/framework/pull/301#discussion_r212823649","pull_request_url":"https://api.github.com/repos/signumsoftware/framework/pulls/301","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/signumsoftware/framework/pulls/comments/212823649"},"html":{"href":"https://github.com/signumsoftware/framework/pull/301#discussion_r212823649"},"pull_request":{"href":"https://api.github.com/repos/signumsoftware/framework/pulls/301"}}},"pull_request":{"url":"https://api.github.com/repos/signumsoftware/framework/pulls/301","id":210947442,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwOTQ3NDQy","html_url":"https://github.com/signumsoftware/framework/pull/301","diff_url":"https://github.com/signumsoftware/framework/pull/301.diff","patch_url":"https://github.com/signumsoftware/framework/pull/301.patch","issue_url":"https://api.github.com/repos/signumsoftware/framework/issues/301","number":301,"state":"open","locked":false,"title":"change Autocomplete to use \"id\" token to search ids and default searching is ToString()","user":{"login":"MehdyKarimpour","id":6736338,"node_id":"MDQ6VXNlcjY3MzYzMzg=","avatar_url":"https://avatars1.githubusercontent.com/u/6736338?v=4","gravatar_id":"","url":"https://api.github.com/users/MehdyKarimpour","html_url":"https://github.com/MehdyKarimpour","followers_url":"https://api.github.com/users/MehdyKarimpour/followers","following_url":"https://api.github.com/users/MehdyKarimpour/following{/other_user}","gists_url":"https://api.github.com/users/MehdyKarimpour/gists{/gist_id}","starred_url":"https://api.github.com/users/MehdyKarimpour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MehdyKarimpour/subscriptions","organizations_url":"https://api.github.com/users/MehdyKarimpour/orgs","repos_url":"https://api.github.com/users/MehdyKarimpour/repos","events_url":"https://api.github.com/users/MehdyKarimpour/events{/privacy}","received_events_url":"https://api.github.com/users/MehdyKarimpour/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-26T11:45:00Z","updated_at":"2018-08-26T11:56:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"172eaa68c891cd73fa0b4d879a2bb6151bab3a65","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/signumsoftware/framework/pulls/301/commits","review_comments_url":"https://api.github.com/repos/signumsoftware/framework/pulls/301/comments","review_comment_url":"https://api.github.com/repos/signumsoftware/framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/signumsoftware/framework/issues/301/comments","statuses_url":"https://api.github.com/repos/signumsoftware/framework/statuses/1f2d9ecaca58c4ba06e6dee134b538f7d91a5cd3","head":{"label":"MehdyKarimpour:master","ref":"master","sha":"1f2d9ecaca58c4ba06e6dee134b538f7d91a5cd3","user":{"login":"MehdyKarimpour","id":6736338,"node_id":"MDQ6VXNlcjY3MzYzMzg=","avatar_url":"https://avatars1.githubusercontent.com/u/6736338?v=4","gravatar_id":"","url":"https://api.github.com/users/MehdyKarimpour","html_url":"https://github.com/MehdyKarimpour","followers_url":"https://api.github.com/users/MehdyKarimpour/followers","following_url":"https://api.github.com/users/MehdyKarimpour/following{/other_user}","gists_url":"https://api.github.com/users/MehdyKarimpour/gists{/gist_id}","starred_url":"https://api.github.com/users/MehdyKarimpour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MehdyKarimpour/subscriptions","organizations_url":"https://api.github.com/users/MehdyKarimpour/orgs","repos_url":"https://api.github.com/users/MehdyKarimpour/repos","events_url":"https://api.github.com/users/MehdyKarimpour/events{/privacy}","received_events_url":"https://api.github.com/users/MehdyKarimpour/received_events","type":"User","site_admin":false},"repo":{"id":58264434,"node_id":"MDEwOlJlcG9zaXRvcnk1ODI2NDQzNA==","name":"framework","full_name":"MehdyKarimpour/framework","owner":{"login":"MehdyKarimpour","id":6736338,"node_id":"MDQ6VXNlcjY3MzYzMzg=","avatar_url":"https://avatars1.githubusercontent.com/u/6736338?v=4","gravatar_id":"","url":"https://api.github.com/users/MehdyKarimpour","html_url":"https://github.com/MehdyKarimpour","followers_url":"https://api.github.com/users/MehdyKarimpour/followers","following_url":"https://api.github.com/users/MehdyKarimpour/following{/other_user}","gists_url":"https://api.github.com/users/MehdyKarimpour/gists{/gist_id}","starred_url":"https://api.github.com/users/MehdyKarimpour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MehdyKarimpour/subscriptions","organizations_url":"https://api.github.com/users/MehdyKarimpour/orgs","repos_url":"https://api.github.com/users/MehdyKarimpour/repos","events_url":"https://api.github.com/users/MehdyKarimpour/events{/privacy}","received_events_url":"https://api.github.com/users/MehdyKarimpour/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MehdyKarimpour/framework","description":"Open Source framework from Signum Software for writing data-centric applications over the latest Microsoft technologies: .Net 4.0, C# 4.0, WPF, ASP.Net MVC 3.0, Razor ","fork":true,"url":"https://api.github.com/repos/MehdyKarimpour/framework","forks_url":"https://api.github.com/repos/MehdyKarimpour/framework/forks","keys_url":"https://api.github.com/repos/MehdyKarimpour/framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MehdyKarimpour/framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MehdyKarimpour/framework/teams","hooks_url":"https://api.github.com/repos/MehdyKarimpour/framework/hooks","issue_events_url":"https://api.github.com/repos/MehdyKarimpour/framework/issues/events{/number}","events_url":"https://api.github.com/repos/MehdyKarimpour/framework/events","assignees_url":"https://api.github.com/repos/MehdyKarimpour/framework/assignees{/user}","branches_url":"https://api.github.com/repos/MehdyKarimpour/framework/branches{/branch}","tags_url":"https://api.github.com/repos/MehdyKarimpour/framework/tags","blobs_url":"https://api.github.com/repos/MehdyKarimpour/framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MehdyKarimpour/framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MehdyKarimpour/framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/MehdyKarimpour/framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MehdyKarimpour/framework/statuses/{sha}","languages_url":"https://api.github.com/repos/MehdyKarimpour/framework/languages","stargazers_url":"https://api.github.com/repos/MehdyKarimpour/framework/stargazers","contributors_url":"https://api.github.com/repos/MehdyKarimpour/framework/contributors","subscribers_url":"https://api.github.com/repos/MehdyKarimpour/framework/subscribers","subscription_url":"https://api.github.com/repos/MehdyKarimpour/framework/subscription","commits_url":"https://api.github.com/repos/MehdyKarimpour/framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/MehdyKarimpour/framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/MehdyKarimpour/framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/MehdyKarimpour/framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/MehdyKarimpour/framework/contents/{+path}","compare_url":"https://api.github.com/repos/MehdyKarimpour/framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MehdyKarimpour/framework/merges","archive_url":"https://api.github.com/repos/MehdyKarimpour/framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MehdyKarimpour/framework/downloads","issues_url":"https://api.github.com/repos/MehdyKarimpour/framework/issues{/number}","pulls_url":"https://api.github.com/repos/MehdyKarimpour/framework/pulls{/number}","milestones_url":"https://api.github.com/repos/MehdyKarimpour/framework/milestones{/number}","notifications_url":"https://api.github.com/repos/MehdyKarimpour/framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MehdyKarimpour/framework/labels{/name}","releases_url":"https://api.github.com/repos/MehdyKarimpour/framework/releases{/id}","deployments_url":"https://api.github.com/repos/MehdyKarimpour/framework/deployments","created_at":"2016-05-07T12:11:26Z","updated_at":"2018-08-26T11:42:40Z","pushed_at":"2018-08-26T11:42:39Z","git_url":"git://github.com/MehdyKarimpour/framework.git","ssh_url":"git@github.com:MehdyKarimpour/framework.git","clone_url":"https://github.com/MehdyKarimpour/framework.git","svn_url":"https://github.com/MehdyKarimpour/framework","homepage":"www.signumframework.com","size":31216,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"signumsoftware:master","ref":"master","sha":"446c66e77f797a75809b756be10b916ba2cfd10d","user":{"login":"signumsoftware","id":894227,"node_id":"MDQ6VXNlcjg5NDIyNw==","avatar_url":"https://avatars0.githubusercontent.com/u/894227?v=4","gravatar_id":"","url":"https://api.github.com/users/signumsoftware","html_url":"https://github.com/signumsoftware","followers_url":"https://api.github.com/users/signumsoftware/followers","following_url":"https://api.github.com/users/signumsoftware/following{/other_user}","gists_url":"https://api.github.com/users/signumsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/signumsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signumsoftware/subscriptions","organizations_url":"https://api.github.com/users/signumsoftware/orgs","repos_url":"https://api.github.com/users/signumsoftware/repos","events_url":"https://api.github.com/users/signumsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/signumsoftware/received_events","type":"User","site_admin":false},"repo":{"id":1997797,"node_id":"MDEwOlJlcG9zaXRvcnkxOTk3Nzk3","name":"framework","full_name":"signumsoftware/framework","owner":{"login":"signumsoftware","id":894227,"node_id":"MDQ6VXNlcjg5NDIyNw==","avatar_url":"https://avatars0.githubusercontent.com/u/894227?v=4","gravatar_id":"","url":"https://api.github.com/users/signumsoftware","html_url":"https://github.com/signumsoftware","followers_url":"https://api.github.com/users/signumsoftware/followers","following_url":"https://api.github.com/users/signumsoftware/following{/other_user}","gists_url":"https://api.github.com/users/signumsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/signumsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signumsoftware/subscriptions","organizations_url":"https://api.github.com/users/signumsoftware/orgs","repos_url":"https://api.github.com/users/signumsoftware/repos","events_url":"https://api.github.com/users/signumsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/signumsoftware/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/signumsoftware/framework","description":"Open Source framework from Signum Software for writing data-centric applications over the latest technologies: .Net 4.5.1, C# 6.0, WPF, ASP.Net Web.Api, Typescript 2.0 (no-null), React and D3 ","fork":false,"url":"https://api.github.com/repos/signumsoftware/framework","forks_url":"https://api.github.com/repos/signumsoftware/framework/forks","keys_url":"https://api.github.com/repos/signumsoftware/framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/signumsoftware/framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/signumsoftware/framework/teams","hooks_url":"https://api.github.com/repos/signumsoftware/framework/hooks","issue_events_url":"https://api.github.com/repos/signumsoftware/framework/issues/events{/number}","events_url":"https://api.github.com/repos/signumsoftware/framework/events","assignees_url":"https://api.github.com/repos/signumsoftware/framework/assignees{/user}","branches_url":"https://api.github.com/repos/signumsoftware/framework/branches{/branch}","tags_url":"https://api.github.com/repos/signumsoftware/framework/tags","blobs_url":"https://api.github.com/repos/signumsoftware/framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/signumsoftware/framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/signumsoftware/framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/signumsoftware/framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/signumsoftware/framework/statuses/{sha}","languages_url":"https://api.github.com/repos/signumsoftware/framework/languages","stargazers_url":"https://api.github.com/repos/signumsoftware/framework/stargazers","contributors_url":"https://api.github.com/repos/signumsoftware/framework/contributors","subscribers_url":"https://api.github.com/repos/signumsoftware/framework/subscribers","subscription_url":"https://api.github.com/repos/signumsoftware/framework/subscription","commits_url":"https://api.github.com/repos/signumsoftware/framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/signumsoftware/framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/signumsoftware/framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/signumsoftware/framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/signumsoftware/framework/contents/{+path}","compare_url":"https://api.github.com/repos/signumsoftware/framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/signumsoftware/framework/merges","archive_url":"https://api.github.com/repos/signumsoftware/framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/signumsoftware/framework/downloads","issues_url":"https://api.github.com/repos/signumsoftware/framework/issues{/number}","pulls_url":"https://api.github.com/repos/signumsoftware/framework/pulls{/number}","milestones_url":"https://api.github.com/repos/signumsoftware/framework/milestones{/number}","notifications_url":"https://api.github.com/repos/signumsoftware/framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/signumsoftware/framework/labels{/name}","releases_url":"https://api.github.com/repos/signumsoftware/framework/releases{/id}","deployments_url":"https://api.github.com/repos/signumsoftware/framework/deployments","created_at":"2011-07-04T22:51:24Z","updated_at":"2018-08-26T09:27:07Z","pushed_at":"2018-08-26T11:45:00Z","git_url":"git://github.com/signumsoftware/framework.git","ssh_url":"git@github.com:signumsoftware/framework.git","clone_url":"https://github.com/signumsoftware/framework.git","svn_url":"https://github.com/signumsoftware/framework","homepage":"www.signumframework.com","size":31667,"stargazers_count":96,"watchers_count":96,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":53,"open_issues":3,"watchers":96,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/signumsoftware/framework/pulls/301"},"html":{"href":"https://github.com/signumsoftware/framework/pull/301"},"issue":{"href":"https://api.github.com/repos/signumsoftware/framework/issues/301"},"comments":{"href":"https://api.github.com/repos/signumsoftware/framework/issues/301/comments"},"review_comments":{"href":"https://api.github.com/repos/signumsoftware/framework/pulls/301/comments"},"review_comment":{"href":"https://api.github.com/repos/signumsoftware/framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/signumsoftware/framework/pulls/301/commits"},"statuses":{"href":"https://api.github.com/repos/signumsoftware/framework/statuses/1f2d9ecaca58c4ba06e6dee134b538f7d91a5cd3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"olmobrutall"}}