{"action":"opened","issue":{"url":"https://api.github.com/repos/apollographql/apollo-cli/issues/517","repository_url":"https://api.github.com/repos/apollographql/apollo-cli","labels_url":"https://api.github.com/repos/apollographql/apollo-cli/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/apollographql/apollo-cli/issues/517/comments","events_url":"https://api.github.com/repos/apollographql/apollo-cli/issues/517/events","html_url":"https://github.com/apollographql/apollo-cli/issues/517","id":345465549,"node_id":"MDU6SXNzdWUzNDU0NjU1NDk=","number":517,"title":"Flowtype definitions generated by apollo-codegen are empty","user":{"login":"CoenWarmer","id":535564,"node_id":"MDQ6VXNlcjUzNTU2NA==","avatar_url":"https://avatars0.githubusercontent.com/u/535564?v=4","gravatar_id":"","url":"https://api.github.com/users/CoenWarmer","html_url":"https://github.com/CoenWarmer","followers_url":"https://api.github.com/users/CoenWarmer/followers","following_url":"https://api.github.com/users/CoenWarmer/following{/other_user}","gists_url":"https://api.github.com/users/CoenWarmer/gists{/gist_id}","starred_url":"https://api.github.com/users/CoenWarmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoenWarmer/subscriptions","organizations_url":"https://api.github.com/users/CoenWarmer/orgs","repos_url":"https://api.github.com/users/CoenWarmer/repos","events_url":"https://api.github.com/users/CoenWarmer/events{/privacy}","received_events_url":"https://api.github.com/users/CoenWarmer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-28T17:33:21Z","updated_at":"2018-07-28T17:33:21Z","closed_at":null,"author_association":"NONE","body":"I'm attempting to use the `apollo-codegen` tool to generate flowtype definitions, as specified in the [documentation](https://www.apollographql.com/docs/angular/features/developer-tooling.html#introspect). I am using the GraphQL server that is noted in the setup instructions containing currency exchange information.\r\n\r\nSo I try:\r\n\r\n```apollo-codegen introspect-schema https://w5xlvm3vzz.lp.gql.zone/graphql --output schema.json```\r\n\r\nThis generates a `schema.json` file that looks correct.\r\n\r\nI then attempt the generate step as described in the documentation:\r\n\r\n```apollo-codegen generate **/*.graphql --schema schema.json --target flow --output operation-result-types.flow.js```\r\n\r\nThis leads to the following file `operation-result-types.flow.js`:\r\n\r\n```\r\n\r\n\r\n/* @flow */\r\n/* eslint-disable */\r\n// This file was automatically generated and should not be edited.\r\n\r\n//==============================================================\r\n// START Enums and Input Objects\r\n//==============================================================\r\n\r\n//==============================================================\r\n// END Enums and Input Objects\r\n//==============================================================\r\n\r\n```\r\n\r\nAm I doing something wrong?"}}
{"actor":{"display_login":"CoenWarmer"}}