{"action":"created","comment":{"url":"https://api.github.com/repos/OData/odata.net/pulls/comments/51538535","id":51538535,"diff_hunk":"@@ -0,0 +1,1048 @@\n+﻿using Microsoft.OData.Core;\r\n+using Microsoft.OData.Core.UriParser;\r\n+using Microsoft.OData.Core.UriParser.Parsers.TypeParsers;\r\n+using Microsoft.OData.Core.UriParser.Parsers.TypeParsers.Common;\r\n+using Microsoft.OData.Edm;\r","path":"test/FunctionalTests/Microsoft.OData.Core.Tests/UriParser/Parsers/UriCustomTypeParserTests.cs","position":5,"original_position":5,"commit_id":"08758103c27fb318f5437ded96249cfc83ede143","original_commit_id":"08758103c27fb318f5437ded96249cfc83ede143","user":{"login":"LaylaLiu","id":6811112,"avatar_url":"https://avatars.githubusercontent.com/u/6811112?v=3","gravatar_id":"","url":"https://api.github.com/users/LaylaLiu","html_url":"https://github.com/LaylaLiu","followers_url":"https://api.github.com/users/LaylaLiu/followers","following_url":"https://api.github.com/users/LaylaLiu/following{/other_user}","gists_url":"https://api.github.com/users/LaylaLiu/gists{/gist_id}","starred_url":"https://api.github.com/users/LaylaLiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaylaLiu/subscriptions","organizations_url":"https://api.github.com/users/LaylaLiu/orgs","repos_url":"https://api.github.com/users/LaylaLiu/repos","events_url":"https://api.github.com/users/LaylaLiu/events{/privacy}","received_events_url":"https://api.github.com/users/LaylaLiu/received_events","type":"User","site_admin":false},"body":"sort using","created_at":"2016-02-02T08:41:02Z","updated_at":"2016-02-02T08:41:02Z","html_url":"https://github.com/OData/odata.net/pull/448#discussion_r51538535","pull_request_url":"https://api.github.com/repos/OData/odata.net/pulls/448","_links":{"self":{"href":"https://api.github.com/repos/OData/odata.net/pulls/comments/51538535"},"html":{"href":"https://github.com/OData/odata.net/pull/448#discussion_r51538535"},"pull_request":{"href":"https://api.github.com/repos/OData/odata.net/pulls/448"}}},"pull_request":{"url":"https://api.github.com/repos/OData/odata.net/pulls/448","id":56253180,"html_url":"https://github.com/OData/odata.net/pull/448","diff_url":"https://github.com/OData/odata.net/pull/448.diff","patch_url":"https://github.com/OData/odata.net/pull/448.patch","issue_url":"https://api.github.com/repos/OData/odata.net/issues/448","number":448,"state":"open","locked":false,"title":"Uri Parsing to support custom uri type parsers and custom uri prefix literals","user":{"login":"YogiBear52","id":10381032,"avatar_url":"https://avatars.githubusercontent.com/u/10381032?v=3","gravatar_id":"","url":"https://api.github.com/users/YogiBear52","html_url":"https://github.com/YogiBear52","followers_url":"https://api.github.com/users/YogiBear52/followers","following_url":"https://api.github.com/users/YogiBear52/following{/other_user}","gists_url":"https://api.github.com/users/YogiBear52/gists{/gist_id}","starred_url":"https://api.github.com/users/YogiBear52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YogiBear52/subscriptions","organizations_url":"https://api.github.com/users/YogiBear52/orgs","repos_url":"https://api.github.com/users/YogiBear52/repos","events_url":"https://api.github.com/users/YogiBear52/events{/privacy}","received_events_url":"https://api.github.com/users/YogiBear52/received_events","type":"User","site_admin":false},"body":"This request is attached to issue #391 which is about CustomUriTypeParsers.\r\nIn addition, this request adds implementation of custom prefix literals to EdmTypes.\r\n\r\nThe request contains:\r\n\r\n* UriTypeParser - a class which can parse a uri text to an object.\r\nNow, UriPrimitiveTypeParser is a UriTypeParser.\r\nClients can add custom UriTypeParsers.\r\nUriTypeParses can be registered to a specific EdmType or as general(to any EdmType - like PrimitiveTypeParser).\r\n\r\n* UriTypePrefixLiteral - a way to add custom prefix literal to any EdmType. \r\nFor example: filter=MyPropr gt myCustomPerifx'VALUE'\r\nWith the custom UriTypeParser ,now it is possible to add a custom complex type and add a prefix literal to this edm type.\r\n\r\n* UriParserHelper - Contains static methods which help to parse the uri. Only a matter of more organized code.\r\n\r\nAfter this commit, everybody can change the default behavior of uri types parsing. It's real power is that now we can add an EdmType(could even be a complex type) and attach a UriTypeParser to it in addition to a unique prefix literal of this type. Thus, now, the UriParser can handle any custom type not only with the PrimitiveTypeParser.","created_at":"2016-01-16T13:02:19Z","updated_at":"2016-02-02T08:41:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d9224f7b0243a190585ddcbde306992736d1be1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OData/odata.net/pulls/448/commits","review_comments_url":"https://api.github.com/repos/OData/odata.net/pulls/448/comments","review_comment_url":"https://api.github.com/repos/OData/odata.net/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OData/odata.net/issues/448/comments","statuses_url":"https://api.github.com/repos/OData/odata.net/statuses/08758103c27fb318f5437ded96249cfc83ede143","head":{"label":"YogiBear52:master","ref":"master","sha":"08758103c27fb318f5437ded96249cfc83ede143","user":{"login":"YogiBear52","id":10381032,"avatar_url":"https://avatars.githubusercontent.com/u/10381032?v=3","gravatar_id":"","url":"https://api.github.com/users/YogiBear52","html_url":"https://github.com/YogiBear52","followers_url":"https://api.github.com/users/YogiBear52/followers","following_url":"https://api.github.com/users/YogiBear52/following{/other_user}","gists_url":"https://api.github.com/users/YogiBear52/gists{/gist_id}","starred_url":"https://api.github.com/users/YogiBear52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YogiBear52/subscriptions","organizations_url":"https://api.github.com/users/YogiBear52/orgs","repos_url":"https://api.github.com/users/YogiBear52/repos","events_url":"https://api.github.com/users/YogiBear52/events{/privacy}","received_events_url":"https://api.github.com/users/YogiBear52/received_events","type":"User","site_admin":false},"repo":{"id":47287368,"name":"odata.net","full_name":"YogiBear52/odata.net","owner":{"login":"YogiBear52","id":10381032,"avatar_url":"https://avatars.githubusercontent.com/u/10381032?v=3","gravatar_id":"","url":"https://api.github.com/users/YogiBear52","html_url":"https://github.com/YogiBear52","followers_url":"https://api.github.com/users/YogiBear52/followers","following_url":"https://api.github.com/users/YogiBear52/following{/other_user}","gists_url":"https://api.github.com/users/YogiBear52/gists{/gist_id}","starred_url":"https://api.github.com/users/YogiBear52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YogiBear52/subscriptions","organizations_url":"https://api.github.com/users/YogiBear52/orgs","repos_url":"https://api.github.com/users/YogiBear52/repos","events_url":"https://api.github.com/users/YogiBear52/events{/privacy}","received_events_url":"https://api.github.com/users/YogiBear52/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YogiBear52/odata.net","description":"ODataLib: Open Data Protocol - .NET/Silverlight/WP8.1 Libraries and Frameworks","fork":true,"url":"https://api.github.com/repos/YogiBear52/odata.net","forks_url":"https://api.github.com/repos/YogiBear52/odata.net/forks","keys_url":"https://api.github.com/repos/YogiBear52/odata.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YogiBear52/odata.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YogiBear52/odata.net/teams","hooks_url":"https://api.github.com/repos/YogiBear52/odata.net/hooks","issue_events_url":"https://api.github.com/repos/YogiBear52/odata.net/issues/events{/number}","events_url":"https://api.github.com/repos/YogiBear52/odata.net/events","assignees_url":"https://api.github.com/repos/YogiBear52/odata.net/assignees{/user}","branches_url":"https://api.github.com/repos/YogiBear52/odata.net/branches{/branch}","tags_url":"https://api.github.com/repos/YogiBear52/odata.net/tags","blobs_url":"https://api.github.com/repos/YogiBear52/odata.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YogiBear52/odata.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YogiBear52/odata.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/YogiBear52/odata.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YogiBear52/odata.net/statuses/{sha}","languages_url":"https://api.github.com/repos/YogiBear52/odata.net/languages","stargazers_url":"https://api.github.com/repos/YogiBear52/odata.net/stargazers","contributors_url":"https://api.github.com/repos/YogiBear52/odata.net/contributors","subscribers_url":"https://api.github.com/repos/YogiBear52/odata.net/subscribers","subscription_url":"https://api.github.com/repos/YogiBear52/odata.net/subscription","commits_url":"https://api.github.com/repos/YogiBear52/odata.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/YogiBear52/odata.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/YogiBear52/odata.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/YogiBear52/odata.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/YogiBear52/odata.net/contents/{+path}","compare_url":"https://api.github.com/repos/YogiBear52/odata.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YogiBear52/odata.net/merges","archive_url":"https://api.github.com/repos/YogiBear52/odata.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YogiBear52/odata.net/downloads","issues_url":"https://api.github.com/repos/YogiBear52/odata.net/issues{/number}","pulls_url":"https://api.github.com/repos/YogiBear52/odata.net/pulls{/number}","milestones_url":"https://api.github.com/repos/YogiBear52/odata.net/milestones{/number}","notifications_url":"https://api.github.com/repos/YogiBear52/odata.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YogiBear52/odata.net/labels{/name}","releases_url":"https://api.github.com/repos/YogiBear52/odata.net/releases{/id}","deployments_url":"https://api.github.com/repos/YogiBear52/odata.net/deployments","created_at":"2015-12-02T20:41:42Z","updated_at":"2016-01-12T23:08:09Z","pushed_at":"2016-01-20T21:24:34Z","git_url":"git://github.com/YogiBear52/odata.net.git","ssh_url":"git@github.com:YogiBear52/odata.net.git","clone_url":"https://github.com/YogiBear52/odata.net.git","svn_url":"https://github.com/YogiBear52/odata.net","homepage":"http://odata.github.io/odata.net","size":33024,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OData:master","ref":"master","sha":"fb4cbdc745f2764b004c01dbccb8965e0d214d3b","user":{"login":"OData","id":916520,"avatar_url":"https://avatars.githubusercontent.com/u/916520?v=3","gravatar_id":"","url":"https://api.github.com/users/OData","html_url":"https://github.com/OData","followers_url":"https://api.github.com/users/OData/followers","following_url":"https://api.github.com/users/OData/following{/other_user}","gists_url":"https://api.github.com/users/OData/gists{/gist_id}","starred_url":"https://api.github.com/users/OData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OData/subscriptions","organizations_url":"https://api.github.com/users/OData/orgs","repos_url":"https://api.github.com/users/OData/repos","events_url":"https://api.github.com/users/OData/events{/privacy}","received_events_url":"https://api.github.com/users/OData/received_events","type":"Organization","site_admin":false},"repo":{"id":23308338,"name":"odata.net","full_name":"OData/odata.net","owner":{"login":"OData","id":916520,"avatar_url":"https://avatars.githubusercontent.com/u/916520?v=3","gravatar_id":"","url":"https://api.github.com/users/OData","html_url":"https://github.com/OData","followers_url":"https://api.github.com/users/OData/followers","following_url":"https://api.github.com/users/OData/following{/other_user}","gists_url":"https://api.github.com/users/OData/gists{/gist_id}","starred_url":"https://api.github.com/users/OData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OData/subscriptions","organizations_url":"https://api.github.com/users/OData/orgs","repos_url":"https://api.github.com/users/OData/repos","events_url":"https://api.github.com/users/OData/events{/privacy}","received_events_url":"https://api.github.com/users/OData/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OData/odata.net","description":"ODataLib: Open Data Protocol - .NET/Silverlight/WP8.1 Libraries and Frameworks","fork":false,"url":"https://api.github.com/repos/OData/odata.net","forks_url":"https://api.github.com/repos/OData/odata.net/forks","keys_url":"https://api.github.com/repos/OData/odata.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OData/odata.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OData/odata.net/teams","hooks_url":"https://api.github.com/repos/OData/odata.net/hooks","issue_events_url":"https://api.github.com/repos/OData/odata.net/issues/events{/number}","events_url":"https://api.github.com/repos/OData/odata.net/events","assignees_url":"https://api.github.com/repos/OData/odata.net/assignees{/user}","branches_url":"https://api.github.com/repos/OData/odata.net/branches{/branch}","tags_url":"https://api.github.com/repos/OData/odata.net/tags","blobs_url":"https://api.github.com/repos/OData/odata.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OData/odata.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OData/odata.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/OData/odata.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OData/odata.net/statuses/{sha}","languages_url":"https://api.github.com/repos/OData/odata.net/languages","stargazers_url":"https://api.github.com/repos/OData/odata.net/stargazers","contributors_url":"https://api.github.com/repos/OData/odata.net/contributors","subscribers_url":"https://api.github.com/repos/OData/odata.net/subscribers","subscription_url":"https://api.github.com/repos/OData/odata.net/subscription","commits_url":"https://api.github.com/repos/OData/odata.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/OData/odata.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/OData/odata.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/OData/odata.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/OData/odata.net/contents/{+path}","compare_url":"https://api.github.com/repos/OData/odata.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OData/odata.net/merges","archive_url":"https://api.github.com/repos/OData/odata.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OData/odata.net/downloads","issues_url":"https://api.github.com/repos/OData/odata.net/issues{/number}","pulls_url":"https://api.github.com/repos/OData/odata.net/pulls{/number}","milestones_url":"https://api.github.com/repos/OData/odata.net/milestones{/number}","notifications_url":"https://api.github.com/repos/OData/odata.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OData/odata.net/labels{/name}","releases_url":"https://api.github.com/repos/OData/odata.net/releases{/id}","deployments_url":"https://api.github.com/repos/OData/odata.net/deployments","created_at":"2014-08-25T09:15:23Z","updated_at":"2016-01-23T11:19:08Z","pushed_at":"2016-02-02T03:54:36Z","git_url":"git://github.com/OData/odata.net.git","ssh_url":"git@github.com:OData/odata.net.git","clone_url":"https://github.com/OData/odata.net.git","svn_url":"https://github.com/OData/odata.net","homepage":"http://odata.github.io/odata.net","size":34843,"stargazers_count":161,"watchers_count":161,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":87,"mirror_url":null,"open_issues_count":230,"forks":87,"open_issues":230,"watchers":161,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OData/odata.net/pulls/448"},"html":{"href":"https://github.com/OData/odata.net/pull/448"},"issue":{"href":"https://api.github.com/repos/OData/odata.net/issues/448"},"comments":{"href":"https://api.github.com/repos/OData/odata.net/issues/448/comments"},"review_comments":{"href":"https://api.github.com/repos/OData/odata.net/pulls/448/comments"},"review_comment":{"href":"https://api.github.com/repos/OData/odata.net/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OData/odata.net/pulls/448/commits"},"statuses":{"href":"https://api.github.com/repos/OData/odata.net/statuses/08758103c27fb318f5437ded96249cfc83ede143"}}}}