{"action":"reopened","issue":{"url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/483","repository_url":"https://api.github.com/repos/dotansimha/graphql-code-generator","labels_url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/483/labels{/name}","comments_url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/483/comments","events_url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/483/events","html_url":"https://github.com/dotansimha/graphql-code-generator/issues/483","id":349321800,"node_id":"MDU6SXNzdWUzNDkzMjE4MDA=","number":483,"title":"Bug: interfacePrefix Not working Properly","user":{"login":"daniel-nagy","id":1622446,"node_id":"MDQ6VXNlcjE2MjI0NDY=","avatar_url":"https://avatars2.githubusercontent.com/u/1622446?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-nagy","html_url":"https://github.com/daniel-nagy","followers_url":"https://api.github.com/users/daniel-nagy/followers","following_url":"https://api.github.com/users/daniel-nagy/following{/other_user}","gists_url":"https://api.github.com/users/daniel-nagy/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-nagy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-nagy/subscriptions","organizations_url":"https://api.github.com/users/daniel-nagy/orgs","repos_url":"https://api.github.com/users/daniel-nagy/repos","events_url":"https://api.github.com/users/daniel-nagy/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-nagy/received_events","type":"User","site_admin":false},"labels":[{"id":748046606,"node_id":"MDU6TGFiZWw3NDgwNDY2MDY=","url":"https://api.github.com/repos/dotansimha/graphql-code-generator/labels/waiting-for-release","name":"waiting-for-release","color":"dfff8e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-09T23:06:59Z","updated_at":"2018-08-16T14:14:16Z","closed_at":null,"author_association":"NONE","body":"This option is prefixing enums and types when used on other types or interfaces.\r\n\r\ne.g. it produces the following:\r\n\r\n```typescript\r\nexport enum Foo = {\r\n  ...\r\n}\r\n\r\nexport type Bar = {\r\n  ...\r\n}\r\n\r\nexport interface IBaz {\r\n  foo: IFoo; // Cannot find name 'IFoo'.\r\n  bar: IBar; // Cannot find name 'IBar'.\r\n}\r\n```\r\n\r\n**graphql-code-generator**: v0.10.7\r\n**graphql-codegen-typescript-template**: v0.10.7"}}
{"actor":{"display_login":"dotansimha"}}