{"action":"opened","issue":{"url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/759","repository_url":"https://api.github.com/repos/mobxjs/mobx-state-tree","labels_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/759/labels{/name}","comments_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/759/comments","events_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/759/events","html_url":"https://github.com/mobxjs/mobx-state-tree/issues/759","id":312092108,"number":759,"title":"Method for introspecting on types","user":{"login":"schicks","id":13151724,"avatar_url":"https://avatars0.githubusercontent.com/u/13151724?v=4","gravatar_id":"","url":"https://api.github.com/users/schicks","html_url":"https://github.com/schicks","followers_url":"https://api.github.com/users/schicks/followers","following_url":"https://api.github.com/users/schicks/following{/other_user}","gists_url":"https://api.github.com/users/schicks/gists{/gist_id}","starred_url":"https://api.github.com/users/schicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schicks/subscriptions","organizations_url":"https://api.github.com/users/schicks/orgs","repos_url":"https://api.github.com/users/schicks/repos","events_url":"https://api.github.com/users/schicks/events{/privacy}","received_events_url":"https://api.github.com/users/schicks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-06T19:33:45Z","updated_at":"2018-04-06T19:33:45Z","closed_at":null,"author_association":"NONE","body":"I'm trying to construct types that asynchronously load data from a remote server. I'm doing this by wrapping some base type;\r\n```javascript\r\nfunction remote(type, initializer) {\r\n    return types.model({errored:false, data:types.maybe(type)}).actions({...})\r\n}\r\n```\r\nThe problem is that I want to reflect the attributes, views, and actions of the wrapped type on the new returned type. Is there a way to pull out the names of all of these things so that I can generate getter actions on the wrapping type that reach down into the data attribute?"}}
{"actor":{"display_login":"schicks"}}