{"action":"created","issue":{"url":"https://api.github.com/repos/NumberFour/n4js/issues/23","repository_url":"https://api.github.com/repos/NumberFour/n4js","labels_url":"https://api.github.com/repos/NumberFour/n4js/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/NumberFour/n4js/issues/23/comments","events_url":"https://api.github.com/repos/NumberFour/n4js/issues/23/events","html_url":"https://github.com/NumberFour/n4js/issues/23","id":141261931,"number":23,"title":"Provide way for lightweight @StringBased enums","user":{"login":"NumberFourAG","id":783965,"avatar_url":"https://avatars.githubusercontent.com/u/783965?v=3","gravatar_id":"","url":"https://api.github.com/users/NumberFourAG","html_url":"https://github.com/NumberFourAG","followers_url":"https://api.github.com/users/NumberFourAG/followers","following_url":"https://api.github.com/users/NumberFourAG/following{/other_user}","gists_url":"https://api.github.com/users/NumberFourAG/gists{/gist_id}","starred_url":"https://api.github.com/users/NumberFourAG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NumberFourAG/subscriptions","organizations_url":"https://api.github.com/users/NumberFourAG/orgs","repos_url":"https://api.github.com/users/NumberFourAG/repos","events_url":"https://api.github.com/users/NumberFourAG/events{/privacy}","received_events_url":"https://api.github.com/users/NumberFourAG/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NumberFour/n4js/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/NumberFour/n4js/labels/prio-low","name":"prio-low","color":"009800"},{"url":"https://api.github.com/repos/NumberFour/n4js/labels/Screened","name":"Screened","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-16T12:44:29Z","updated_at":"2016-04-04T11:16:45Z","closed_at":"2016-04-04T11:16:45Z","body":"IDEBUG-319\n For simple sets of enums, an explicit module generated is redundant, but all usages of the enum could simply be replaced with their corresponding enum value. \r\n\r\nE.g. a proposal would be that with\r\n\r\n```\r\n@@ProvidedByRuntime\r\n\r\n/**\r\n * https://tools.ietf.org/html/rfc2616#section-5.1.1\r\n */\r\nexport @StringBased external public enum Method {\r\n    OPTIONS,\r\n    GET,\r\n    HEAD,\r\n    POST,\r\n    PUT,\r\n    DELETE,\r\n    TRACE,\r\n    CONNECT\r\n}\r\n```\r\n\r\nany usage of Method.POST would simply be replaced in the transpiled output with \"POST\"."},"comment":{"url":"https://api.github.com/repos/NumberFour/n4js/issues/comments/205248767","html_url":"https://github.com/NumberFour/n4js/issues/23#issuecomment-205248767","issue_url":"https://api.github.com/repos/NumberFour/n4js/issues/23","id":205248767,"user":{"login":"mor-n4","id":7124687,"avatar_url":"https://avatars.githubusercontent.com/u/7124687?v=3","gravatar_id":"","url":"https://api.github.com/users/mor-n4","html_url":"https://github.com/mor-n4","followers_url":"https://api.github.com/users/mor-n4/followers","following_url":"https://api.github.com/users/mor-n4/following{/other_user}","gists_url":"https://api.github.com/users/mor-n4/gists{/gist_id}","starred_url":"https://api.github.com/users/mor-n4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mor-n4/subscriptions","organizations_url":"https://api.github.com/users/mor-n4/orgs","repos_url":"https://api.github.com/users/mor-n4/repos","events_url":"https://api.github.com/users/mor-n4/events{/privacy}","received_events_url":"https://api.github.com/users/mor-n4/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T11:16:45Z","updated_at":"2016-04-04T11:16:45Z","body":"this has been implemented in Feb 2016 as part of another task\r\n-> closing this now"}}