{"action":"created","issue":{"url":"https://api.github.com/repos/OData/WebApi/issues/722","repository_url":"https://api.github.com/repos/OData/WebApi","labels_url":"https://api.github.com/repos/OData/WebApi/issues/722/labels{/name}","comments_url":"https://api.github.com/repos/OData/WebApi/issues/722/comments","events_url":"https://api.github.com/repos/OData/WebApi/issues/722/events","html_url":"https://github.com/OData/WebApi/issues/722","id":153369420,"number":722,"title":"Uri template parser doesn't work if the key is enum type","user":{"login":"xuzhg","id":9426627,"avatar_url":"https://avatars.githubusercontent.com/u/9426627?v=3","gravatar_id":"","url":"https://api.github.com/users/xuzhg","html_url":"https://github.com/xuzhg","followers_url":"https://api.github.com/users/xuzhg/followers","following_url":"https://api.github.com/users/xuzhg/following{/other_user}","gists_url":"https://api.github.com/users/xuzhg/gists{/gist_id}","starred_url":"https://api.github.com/users/xuzhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuzhg/subscriptions","organizations_url":"https://api.github.com/users/xuzhg/orgs","repos_url":"https://api.github.com/users/xuzhg/repos","events_url":"https://api.github.com/users/xuzhg/events{/privacy}","received_events_url":"https://api.github.com/users/xuzhg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OData/WebApi/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"xuzhg","id":9426627,"avatar_url":"https://avatars.githubusercontent.com/u/9426627?v=3","gravatar_id":"","url":"https://api.github.com/users/xuzhg","html_url":"https://github.com/xuzhg","followers_url":"https://api.github.com/users/xuzhg/followers","following_url":"https://api.github.com/users/xuzhg/following{/other_user}","gists_url":"https://api.github.com/users/xuzhg/gists{/gist_id}","starred_url":"https://api.github.com/users/xuzhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuzhg/subscriptions","organizations_url":"https://api.github.com/users/xuzhg/orgs","repos_url":"https://api.github.com/users/xuzhg/repos","events_url":"https://api.github.com/users/xuzhg/events{/privacy}","received_events_url":"https://api.github.com/users/xuzhg/received_events","type":"User","site_admin":false},"assignees":[{"login":"xuzhg","id":9426627,"avatar_url":"https://avatars.githubusercontent.com/u/9426627?v=3","gravatar_id":"","url":"https://api.github.com/users/xuzhg","html_url":"https://github.com/xuzhg","followers_url":"https://api.github.com/users/xuzhg/followers","following_url":"https://api.github.com/users/xuzhg/following{/other_user}","gists_url":"https://api.github.com/users/xuzhg/gists{/gist_id}","starred_url":"https://api.github.com/users/xuzhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuzhg/subscriptions","organizations_url":"https://api.github.com/users/xuzhg/orgs","repos_url":"https://api.github.com/users/xuzhg/repos","events_url":"https://api.github.com/users/xuzhg/events{/privacy}","received_events_url":"https://api.github.com/users/xuzhg/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/OData/WebApi/milestones/18","html_url":"https://github.com/OData/WebApi/milestones/v5.10","labels_url":"https://api.github.com/repos/OData/WebApi/milestones/18/labels","id":1656596,"number":18,"title":"v5.10","description":"","creator":{"login":"VikingsFan","id":5082288,"avatar_url":"https://avatars.githubusercontent.com/u/5082288?v=3","gravatar_id":"","url":"https://api.github.com/users/VikingsFan","html_url":"https://github.com/VikingsFan","followers_url":"https://api.github.com/users/VikingsFan/followers","following_url":"https://api.github.com/users/VikingsFan/following{/other_user}","gists_url":"https://api.github.com/users/VikingsFan/gists{/gist_id}","starred_url":"https://api.github.com/users/VikingsFan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VikingsFan/subscriptions","organizations_url":"https://api.github.com/users/VikingsFan/orgs","repos_url":"https://api.github.com/users/VikingsFan/repos","events_url":"https://api.github.com/users/VikingsFan/events{/privacy}","received_events_url":"https://api.github.com/users/VikingsFan/received_events","type":"User","site_admin":false},"open_issues":51,"closed_issues":10,"state":"open","created_at":"2016-03-21T07:24:34Z","updated_at":"2016-08-29T01:44:49Z","due_on":"2016-10-30T16:00:00Z","closed_at":null},"comments":2,"created_at":"2016-05-06T03:05:14Z","updated_at":"2016-08-29T01:45:39Z","closed_at":null,"body":"related: \r\nhttps://github.com/OData/odata.net/issues/556\r\n\r\n\r\nIf the entity type \"Product\" has the key with enum type. Then, the attribute routing can't work.\r\nFor example:\r\n```\r\n[HttpGet]\r\n[ODataRoute(\"Products({myKey})\")]\r\npublic IHttpActionResult Product([FromODataUri] Color myKey)\r\n{\r\n         ...\r\n}\r\n```\r\n\r\nIt should work after ODL fixs the issue."},"comment":{"url":"https://api.github.com/repos/OData/WebApi/issues/comments/243015049","html_url":"https://github.com/OData/WebApi/issues/722#issuecomment-243015049","issue_url":"https://api.github.com/repos/OData/WebApi/issues/722","id":243015049,"user":{"login":"xuzhg","id":9426627,"avatar_url":"https://avatars.githubusercontent.com/u/9426627?v=3","gravatar_id":"","url":"https://api.github.com/users/xuzhg","html_url":"https://github.com/xuzhg","followers_url":"https://api.github.com/users/xuzhg/followers","following_url":"https://api.github.com/users/xuzhg/following{/other_user}","gists_url":"https://api.github.com/users/xuzhg/gists{/gist_id}","starred_url":"https://api.github.com/users/xuzhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuzhg/subscriptions","organizations_url":"https://api.github.com/users/xuzhg/orgs","repos_url":"https://api.github.com/users/xuzhg/repos","events_url":"https://api.github.com/users/xuzhg/events{/privacy}","received_events_url":"https://api.github.com/users/xuzhg/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T01:45:39Z","updated_at":"2016-08-29T01:45:39Z","body":"V6.0 will add this support, however the vCurrent v5.10 will wait for the ODL 6.15."}}
{"actor":{"display_login":"xuzhg"}}