{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/botbuilder-dotnet/issues/116","repository_url":"https://api.github.com/repos/Microsoft/botbuilder-dotnet","labels_url":"https://api.github.com/repos/Microsoft/botbuilder-dotnet/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/botbuilder-dotnet/issues/116/comments","events_url":"https://api.github.com/repos/Microsoft/botbuilder-dotnet/issues/116/events","html_url":"https://github.com/Microsoft/botbuilder-dotnet/issues/116","id":297248579,"number":116,"title":"Context.Request.Type being mapped to ActivityTypes class is misleading - suggest RequestTypes (the pattern we used in v3)","user":{"login":"brandonh-msft","id":20270743,"avatar_url":"https://avatars3.githubusercontent.com/u/20270743?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonh-msft","html_url":"https://github.com/brandonh-msft","followers_url":"https://api.github.com/users/brandonh-msft/followers","following_url":"https://api.github.com/users/brandonh-msft/following{/other_user}","gists_url":"https://api.github.com/users/brandonh-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonh-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonh-msft/subscriptions","organizations_url":"https://api.github.com/users/brandonh-msft/orgs","repos_url":"https://api.github.com/users/brandonh-msft/repos","events_url":"https://api.github.com/users/brandonh-msft/events{/privacy}","received_events_url":"https://api.github.com/users/brandonh-msft/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"cleemullins","id":1165321,"avatar_url":"https://avatars1.githubusercontent.com/u/1165321?v=4","gravatar_id":"","url":"https://api.github.com/users/cleemullins","html_url":"https://github.com/cleemullins","followers_url":"https://api.github.com/users/cleemullins/followers","following_url":"https://api.github.com/users/cleemullins/following{/other_user}","gists_url":"https://api.github.com/users/cleemullins/gists{/gist_id}","starred_url":"https://api.github.com/users/cleemullins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cleemullins/subscriptions","organizations_url":"https://api.github.com/users/cleemullins/orgs","repos_url":"https://api.github.com/users/cleemullins/repos","events_url":"https://api.github.com/users/cleemullins/events{/privacy}","received_events_url":"https://api.github.com/users/cleemullins/received_events","type":"User","site_admin":false},"assignees":[{"login":"cleemullins","id":1165321,"avatar_url":"https://avatars1.githubusercontent.com/u/1165321?v=4","gravatar_id":"","url":"https://api.github.com/users/cleemullins","html_url":"https://github.com/cleemullins","followers_url":"https://api.github.com/users/cleemullins/followers","following_url":"https://api.github.com/users/cleemullins/following{/other_user}","gists_url":"https://api.github.com/users/cleemullins/gists{/gist_id}","starred_url":"https://api.github.com/users/cleemullins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cleemullins/subscriptions","organizations_url":"https://api.github.com/users/cleemullins/orgs","repos_url":"https://api.github.com/users/cleemullins/repos","events_url":"https://api.github.com/users/cleemullins/events{/privacy}","received_events_url":"https://api.github.com/users/cleemullins/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-02-14T21:18:26Z","updated_at":"2018-04-16T02:56:44Z","closed_at":"2018-04-16T02:56:44Z","author_association":"CONTRIBUTOR","body":"When switching on request types coming in from the user, developers would like to use constants/enums to get type safety and avoid fat-fingering errors.\r\n\r\nThat said, in BBv3 we had \"ActivityTypes\" class full of string constants to use for this purpose. In v4, we have `context.*Request*.Type` yet no accompanying `RequestTypes` class with the constants to be used for comparison. Users are left guessing if `ActivityTypes` really is the thing they need, or if they simply need to debug, see what comes through, and switch on that."}}
{"actor":{"display_login":"cleemullins"}}