{"action":"created","issue":{"url":"https://api.github.com/repos/tc39/proposal-decorators/issues/135","repository_url":"https://api.github.com/repos/tc39/proposal-decorators","labels_url":"https://api.github.com/repos/tc39/proposal-decorators/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/tc39/proposal-decorators/issues/135/comments","events_url":"https://api.github.com/repos/tc39/proposal-decorators/issues/135/events","html_url":"https://github.com/tc39/proposal-decorators/issues/135","id":347179159,"node_id":"MDU6SXNzdWUzNDcxNzkxNTk=","number":135,"title":"What would it mean to \"decorate an export\"?","user":{"login":"rbuckton","id":3902892,"node_id":"MDQ6VXNlcjM5MDI4OTI=","avatar_url":"https://avatars2.githubusercontent.com/u/3902892?v=4","gravatar_id":"","url":"https://api.github.com/users/rbuckton","html_url":"https://github.com/rbuckton","followers_url":"https://api.github.com/users/rbuckton/followers","following_url":"https://api.github.com/users/rbuckton/following{/other_user}","gists_url":"https://api.github.com/users/rbuckton/gists{/gist_id}","starred_url":"https://api.github.com/users/rbuckton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbuckton/subscriptions","organizations_url":"https://api.github.com/users/rbuckton/orgs","repos_url":"https://api.github.com/users/rbuckton/repos","events_url":"https://api.github.com/users/rbuckton/events{/privacy}","received_events_url":"https://api.github.com/users/rbuckton/received_events","type":"User","site_admin":false},"labels":[{"id":833568686,"node_id":"MDU6TGFiZWw4MzM1Njg2ODY=","url":"https://api.github.com/repos/tc39/proposal-decorators/labels/follow-on%20proposal","name":"follow-on proposal","color":"5d68cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2018-08-02T21:21:27Z","updated_at":"2018-10-26T20:13:14Z","closed_at":null,"author_association":"COLLABORATOR","body":"This is a question often brought up in other issues (most recently in https://github.com/tc39/proposal-decorators/issues/69#issuecomment-409734868) that might need to be better explored. The way I see it, there are a number of specific subtopics related to this:\r\n\r\n- If you could \"decorate\" any export, what would you expect to be able to do?\r\n- How would decorating an export affect the static semantics for import/export?\r\n- How would you apply a decorator to the following statements in a consistent and unambiguous way:\r\n  - `export * from \"module\";`\r\n  - `export function F() {}`\r\n  - `export class C {}`\r\n  - `export default function() {}`\r\n  - `export default class {}`\r\n  - `export default expr;`\r\n  - `export { x };`\r\n  - `export { x as y };`\r\n- Are there runtime semantics concerns with decorating exports?\r\n- Are there security concerns with decorating exports?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tc39/proposal-decorators/issues/comments/433529808","html_url":"https://github.com/tc39/proposal-decorators/issues/135#issuecomment-433529808","issue_url":"https://api.github.com/repos/tc39/proposal-decorators/issues/135","id":433529808,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzUyOTgwOA==","user":{"login":"maxnordlund","id":664779,"node_id":"MDQ6VXNlcjY2NDc3OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/664779?v=4","gravatar_id":"","url":"https://api.github.com/users/maxnordlund","html_url":"https://github.com/maxnordlund","followers_url":"https://api.github.com/users/maxnordlund/followers","following_url":"https://api.github.com/users/maxnordlund/following{/other_user}","gists_url":"https://api.github.com/users/maxnordlund/gists{/gist_id}","starred_url":"https://api.github.com/users/maxnordlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxnordlund/subscriptions","organizations_url":"https://api.github.com/users/maxnordlund/orgs","repos_url":"https://api.github.com/users/maxnordlund/repos","events_url":"https://api.github.com/users/maxnordlund/events{/privacy}","received_events_url":"https://api.github.com/users/maxnordlund/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T20:13:14Z","updated_at":"2018-10-26T20:13:14Z","author_association":"NONE","body":"Indeed, and the other use cases will have to be solved in some other way if at all."}}
{"actor":{"display_login":"maxnordlund"}}