{"action":"reopened","issue":{"url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/1105","repository_url":"https://api.github.com/repos/dotansimha/graphql-code-generator","labels_url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/1105/labels{/name}","comments_url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/1105/comments","events_url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/1105/events","html_url":"https://github.com/dotansimha/graphql-code-generator/issues/1105","id":395121368,"node_id":"MDU6SXNzdWUzOTUxMjEzNjg=","number":1105,"title":"[Flow] Directives result in corrupted generated file","user":{"login":"xanf","id":200997,"node_id":"MDQ6VXNlcjIwMDk5Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/200997?v=4","gravatar_id":"","url":"https://api.github.com/users/xanf","html_url":"https://github.com/xanf","followers_url":"https://api.github.com/users/xanf/followers","following_url":"https://api.github.com/users/xanf/following{/other_user}","gists_url":"https://api.github.com/users/xanf/gists{/gist_id}","starred_url":"https://api.github.com/users/xanf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xanf/subscriptions","organizations_url":"https://api.github.com/users/xanf/orgs","repos_url":"https://api.github.com/users/xanf/repos","events_url":"https://api.github.com/users/xanf/events{/privacy}","received_events_url":"https://api.github.com/users/xanf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-01T23:40:45Z","updated_at":"2019-01-03T06:39:09Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**To Reproduce**\r\nSchema:\r\n```\r\ndirective @fake(type: String) on FIELD_DEFINITION\r\n\r\ntype Query {\r\n  version: String\r\n}\r\n```\r\n\r\nConfig:\r\n```\r\ngenerates:\r\n  demo.js:\r\n    - flow\r\n```\r\n\r\n**Result**\r\n```\r\n/* @flow */\r\n\r\n[object Object]\r\nexport type Query {\r\n  version: ?string\r\n};\r\n```\r\n**Expected behavior**\r\nNo `[object Object]`\r\n\r\nI will submit a pull request to fix that"}}
{"actor":{"display_login":"dotansimha"}}