{"action":"created","issue":{"url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/605","repository_url":"https://api.github.com/repos/dotansimha/graphql-code-generator","labels_url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/605/comments","events_url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/605/events","html_url":"https://github.com/dotansimha/graphql-code-generator/issues/605","id":360320673,"node_id":"MDU6SXNzdWUzNjAzMjA2NzM=","number":605,"title":"Underscores gets converted to PascalCase graphql-codegen-typescript-template","user":{"login":"Jontem","id":4803402,"node_id":"MDQ6VXNlcjQ4MDM0MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/4803402?v=4","gravatar_id":"","url":"https://api.github.com/users/Jontem","html_url":"https://github.com/Jontem","followers_url":"https://api.github.com/users/Jontem/followers","following_url":"https://api.github.com/users/Jontem/following{/other_user}","gists_url":"https://api.github.com/users/Jontem/gists{/gist_id}","starred_url":"https://api.github.com/users/Jontem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jontem/subscriptions","organizations_url":"https://api.github.com/users/Jontem/orgs","repos_url":"https://api.github.com/users/Jontem/repos","events_url":"https://api.github.com/users/Jontem/events{/privacy}","received_events_url":"https://api.github.com/users/Jontem/received_events","type":"User","site_admin":false},"labels":[{"id":495014430,"node_id":"MDU6TGFiZWw0OTUwMTQ0MzA=","url":"https://api.github.com/repos/dotansimha/graphql-code-generator/labels/bug","name":"bug","color":"ee0701","default":true},{"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":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-09-14T14:09:42Z","updated_at":"2018-09-17T10:48:09Z","closed_at":"2018-09-17T09:50:16Z","author_association":"CONTRIBUTOR","body":"I don't know which version this is introduced in  but today i upgraded(both codegen and template) from version ^0.9.0 to ^0.12.0 and every type or fragment that has an underscore gets convertet to PascalCase. \r\n\r\nex:\r\nbefore: __typename: \"My_Type\" created an interface named My_Type\r\nnow: __typename: \"My_Type\" creates an interface named MyType\r\n\r\nAfter looking further its not just underscores:\r\n__typename: \"MY_type\" gets converted to an interface named MYType and when referenced in other places converted to MyType"},"comment":{"url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/comments/421965341","html_url":"https://github.com/dotansimha/graphql-code-generator/issues/605#issuecomment-421965341","issue_url":"https://api.github.com/repos/dotansimha/graphql-code-generator/issues/605","id":421965341,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTk2NTM0MQ==","user":{"login":"Jontem","id":4803402,"node_id":"MDQ6VXNlcjQ4MDM0MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/4803402?v=4","gravatar_id":"","url":"https://api.github.com/users/Jontem","html_url":"https://github.com/Jontem","followers_url":"https://api.github.com/users/Jontem/followers","following_url":"https://api.github.com/users/Jontem/following{/other_user}","gists_url":"https://api.github.com/users/Jontem/gists{/gist_id}","starred_url":"https://api.github.com/users/Jontem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jontem/subscriptions","organizations_url":"https://api.github.com/users/Jontem/orgs","repos_url":"https://api.github.com/users/Jontem/repos","events_url":"https://api.github.com/users/Jontem/events{/privacy}","received_events_url":"https://api.github.com/users/Jontem/received_events","type":"User","site_admin":false},"created_at":"2018-09-17T10:48:09Z","updated_at":"2018-09-17T10:48:09Z","author_association":"CONTRIBUTOR","body":"@dotansimha thank you! Everything is working now!"}}
{"actor":{"display_login":"Jontem"}}