{"action":"opened","issue":{"url":"https://api.github.com/repos/kimamula/ts-transformer-enumerate/issues/15","repository_url":"https://api.github.com/repos/kimamula/ts-transformer-enumerate","labels_url":"https://api.github.com/repos/kimamula/ts-transformer-enumerate/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/kimamula/ts-transformer-enumerate/issues/15/comments","events_url":"https://api.github.com/repos/kimamula/ts-transformer-enumerate/issues/15/events","html_url":"https://github.com/kimamula/ts-transformer-enumerate/issues/15","id":391500005,"node_id":"MDU6SXNzdWUzOTE1MDAwMDU=","number":15,"title":"Transformer produces invalid code when string has invalid property name characters","user":{"login":"G-Rath","id":3151613,"node_id":"MDQ6VXNlcjMxNTE2MTM=","avatar_url":"https://avatars2.githubusercontent.com/u/3151613?v=4","gravatar_id":"","url":"https://api.github.com/users/G-Rath","html_url":"https://github.com/G-Rath","followers_url":"https://api.github.com/users/G-Rath/followers","following_url":"https://api.github.com/users/G-Rath/following{/other_user}","gists_url":"https://api.github.com/users/G-Rath/gists{/gist_id}","starred_url":"https://api.github.com/users/G-Rath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G-Rath/subscriptions","organizations_url":"https://api.github.com/users/G-Rath/orgs","repos_url":"https://api.github.com/users/G-Rath/repos","events_url":"https://api.github.com/users/G-Rath/events{/privacy}","received_events_url":"https://api.github.com/users/G-Rath/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-16T20:04:09Z","updated_at":"2018-12-16T20:04:09Z","closed_at":null,"author_association":"NONE","body":"Due to removing quotes from the strings here:\r\n\r\nhttps://github.com/kimamula/ts-transformer-enumerate/blob/ea89429d4ba26fb78c302b9691c6f0f28c968e5d/transformer.ts#L24\r\n\r\nIf a string contains characters that are not allowed in a property name (such as a slash), the transformer generates invalid code.\r\n\r\nFor example: `'/users'` becomes `{ /user: '/user' }`, which is invalid."}}
{"actor":{"display_login":"G-Rath"}}