{"action":"created","issue":{"url":"https://api.github.com/repos/apollographql/apollo-cli/issues/587","repository_url":"https://api.github.com/repos/apollographql/apollo-cli","labels_url":"https://api.github.com/repos/apollographql/apollo-cli/issues/587/labels{/name}","comments_url":"https://api.github.com/repos/apollographql/apollo-cli/issues/587/comments","events_url":"https://api.github.com/repos/apollographql/apollo-cli/issues/587/events","html_url":"https://github.com/apollographql/apollo-cli/issues/587","id":358449503,"node_id":"MDU6SXNzdWUzNTg0NDk1MDM=","number":587,"title":"Fragments generate types but those types are not used","user":{"login":"tomitrescak","id":2682705,"node_id":"MDQ6VXNlcjI2ODI3MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/2682705?v=4","gravatar_id":"","url":"https://api.github.com/users/tomitrescak","html_url":"https://github.com/tomitrescak","followers_url":"https://api.github.com/users/tomitrescak/followers","following_url":"https://api.github.com/users/tomitrescak/following{/other_user}","gists_url":"https://api.github.com/users/tomitrescak/gists{/gist_id}","starred_url":"https://api.github.com/users/tomitrescak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomitrescak/subscriptions","organizations_url":"https://api.github.com/users/tomitrescak/orgs","repos_url":"https://api.github.com/users/tomitrescak/repos","events_url":"https://api.github.com/users/tomitrescak/events{/privacy}","received_events_url":"https://api.github.com/users/tomitrescak/received_events","type":"User","site_admin":false},"labels":[{"id":854170455,"node_id":"MDU6TGFiZWw4NTQxNzA0NTU=","url":"https://api.github.com/repos/apollographql/apollo-cli/labels/feature","name":"feature","color":"a2eeef","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T02:57:51Z","updated_at":"2018-09-10T03:01:15Z","closed_at":null,"author_association":"NONE","body":"<!--**Issue Labels**\r\n\r\nWhile not necessary, you can help organize our issues by labeling this issue when you open it.  To add a label automatically, simply [x] mark the appropriate box below:\r\n\r\n- [ ] has-reproduction\r\n- [x] feature\r\n- [ ] docs\r\n- [ ] blocking\r\n- [ ] good first issue\r\n\r\nTo add a label not listed above, simply place `/label another-label-name` on a line by itself.\r\n-->\r\n\r\nHi, when I use fragments I would expect that the generated types (in Typescript) would be used in other parts of schema. This is not true, schema generates custom type for each fragment use.\r\n\r\nI thought that --mergeInFieldsFromFragmentSpreads should solve this but this is not the case. "},"comment":{"url":"https://api.github.com/repos/apollographql/apollo-cli/issues/comments/419773960","html_url":"https://github.com/apollographql/apollo-cli/issues/587#issuecomment-419773960","issue_url":"https://api.github.com/repos/apollographql/apollo-cli/issues/587","id":419773960,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTc3Mzk2MA==","user":{"login":"tomitrescak","id":2682705,"node_id":"MDQ6VXNlcjI2ODI3MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/2682705?v=4","gravatar_id":"","url":"https://api.github.com/users/tomitrescak","html_url":"https://github.com/tomitrescak","followers_url":"https://api.github.com/users/tomitrescak/followers","following_url":"https://api.github.com/users/tomitrescak/following{/other_user}","gists_url":"https://api.github.com/users/tomitrescak/gists{/gist_id}","starred_url":"https://api.github.com/users/tomitrescak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomitrescak/subscriptions","organizations_url":"https://api.github.com/users/tomitrescak/orgs","repos_url":"https://api.github.com/users/tomitrescak/repos","events_url":"https://api.github.com/users/tomitrescak/events{/privacy}","received_events_url":"https://api.github.com/users/tomitrescak/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T03:01:15Z","updated_at":"2018-09-10T03:01:15Z","author_association":"NONE","body":"Truth be told the \"--mergeInFieldsFromFragmentSpreads\" has no effect on Typescript output. The generated code is exactly the same. Maybe a bug?"}}
{"actor":{"display_login":"tomitrescak"}}