{"action":"closed","issue":{"url":"https://api.github.com/repos/seequent/methoddispatch/issues/8","repository_url":"https://api.github.com/repos/seequent/methoddispatch","labels_url":"https://api.github.com/repos/seequent/methoddispatch/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/seequent/methoddispatch/issues/8/comments","events_url":"https://api.github.com/repos/seequent/methoddispatch/issues/8/events","html_url":"https://github.com/seequent/methoddispatch/issues/8","id":337706479,"node_id":"MDU6SXNzdWUzMzc3MDY0Nzk=","number":8,"title":"Allow passing method object to register","user":{"login":"tim-mitchell","id":9870675,"node_id":"MDQ6VXNlcjk4NzA2NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/9870675?v=4","gravatar_id":"","url":"https://api.github.com/users/tim-mitchell","html_url":"https://github.com/tim-mitchell","followers_url":"https://api.github.com/users/tim-mitchell/followers","following_url":"https://api.github.com/users/tim-mitchell/following{/other_user}","gists_url":"https://api.github.com/users/tim-mitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/tim-mitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tim-mitchell/subscriptions","organizations_url":"https://api.github.com/users/tim-mitchell/orgs","repos_url":"https://api.github.com/users/tim-mitchell/repos","events_url":"https://api.github.com/users/tim-mitchell/events{/privacy}","received_events_url":"https://api.github.com/users/tim-mitchell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-03T00:35:08Z","updated_at":"2018-07-03T03:01:55Z","closed_at":"2018-07-03T03:01:55Z","author_association":"COLLABORATOR","body":"You can't navigate from a string to the method you are dispatching.\r\n\r\npermit:\r\n\r\n```\r\nclass SubClass(BaseClass):\r\n   @register(BaseClass.foo, int)\r\n   def foo_int(self, bar):\r\n      ...\r\n```"}}
{"actor":{"display_login":"tim-mitchell"}}