{"action":"closed","issue":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/758","repository_url":"https://api.github.com/repos/apollostack/apollo-client","labels_url":"https://api.github.com/repos/apollostack/apollo-client/issues/758/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/apollo-client/issues/758/comments","events_url":"https://api.github.com/repos/apollostack/apollo-client/issues/758/events","html_url":"https://github.com/apollostack/apollo-client/issues/758","id":182226171,"number":758,"title":"Please add Ahead of time compile support","user":{"login":"metzc","id":1055809,"avatar_url":"https://avatars.githubusercontent.com/u/1055809?v=3","gravatar_id":"","url":"https://api.github.com/users/metzc","html_url":"https://github.com/metzc","followers_url":"https://api.github.com/users/metzc/followers","following_url":"https://api.github.com/users/metzc/following{/other_user}","gists_url":"https://api.github.com/users/metzc/gists{/gist_id}","starred_url":"https://api.github.com/users/metzc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metzc/subscriptions","organizations_url":"https://api.github.com/users/metzc/orgs","repos_url":"https://api.github.com/users/metzc/repos","events_url":"https://api.github.com/users/metzc/events{/privacy}","received_events_url":"https://api.github.com/users/metzc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apollostack/apollo-client/labels/feature","name":"feature","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-11T10:13:56Z","updated_at":"2016-10-15T19:14:53Z","closed_at":"2016-10-15T19:14:53Z","body":"currently apollo-client breaks the compilation with the angular compiler \"ngc\". As far as i could see the main problem would be that ApolloClient is a default export which breaks static analyzation. See this helpful post for details: https://medium.com/@isaacplmann/making-your-angular-2-library-statically-analyzable-for-aot-e1c6f3ebedd5#.pbg52i3qt\r\n\r\nI made quick fix to a copy of the apolloclient-source in my project in this regard which seemed to work. I also includes some \"hacks\" to remove circular dependencies to make the library compatible with rollup. Seeing that you do a refactor right now i think its no use to create a proper pull request for that? Otherwise just ask."}}
{"actor":{"display_login":"stubailo"}}