{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue/issues/8443","repository_url":"https://api.github.com/repos/vuejs/vue","labels_url":"https://api.github.com/repos/vuejs/vue/issues/8443/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue/issues/8443/comments","events_url":"https://api.github.com/repos/vuejs/vue/issues/8443/events","html_url":"https://github.com/vuejs/vue/issues/8443","id":337533999,"node_id":"MDU6SXNzdWUzMzc1MzM5OTk=","number":8443,"title":"v-for should iterate object iterator (if one exists)","user":{"login":"plehnen","id":24891471,"node_id":"MDQ6VXNlcjI0ODkxNDcx","avatar_url":"https://avatars3.githubusercontent.com/u/24891471?v=4","gravatar_id":"","url":"https://api.github.com/users/plehnen","html_url":"https://github.com/plehnen","followers_url":"https://api.github.com/users/plehnen/followers","following_url":"https://api.github.com/users/plehnen/following{/other_user}","gists_url":"https://api.github.com/users/plehnen/gists{/gist_id}","starred_url":"https://api.github.com/users/plehnen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plehnen/subscriptions","organizations_url":"https://api.github.com/users/plehnen/orgs","repos_url":"https://api.github.com/users/plehnen/repos","events_url":"https://api.github.com/users/plehnen/events{/privacy}","received_events_url":"https://api.github.com/users/plehnen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-02T14:06:43Z","updated_at":"2018-07-02T14:15:08Z","closed_at":null,"author_association":"NONE","body":"### What problem does this feature solve?\r\nPlease see here:\r\nhttps://jsfiddle.net/tys426eq/\r\n\r\nIf a class has its own iterator, `v-for` should iterate over this, instead of the object properties\r\n\r\n### What does the proposed API look like?\r\n```\r\nclass Items {\r\n  [Symbol.iterator]() {\r\n    return this.all.values();\r\n  }\r\n}\r\n```\r\n...\r\n`<div v-for=\"item of items\">` (or \"in\")\r\n\r\n<!-- generated by vue-issues. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/vuejs/vue/issues/comments/401819565","html_url":"https://github.com/vuejs/vue/issues/8443#issuecomment-401819565","issue_url":"https://api.github.com/repos/vuejs/vue/issues/8443","id":401819565,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTgxOTU2NQ==","user":{"login":"posva","id":664177,"node_id":"MDQ6VXNlcjY2NDE3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/664177?v=4","gravatar_id":"","url":"https://api.github.com/users/posva","html_url":"https://github.com/posva","followers_url":"https://api.github.com/users/posva/followers","following_url":"https://api.github.com/users/posva/following{/other_user}","gists_url":"https://api.github.com/users/posva/gists{/gist_id}","starred_url":"https://api.github.com/users/posva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/posva/subscriptions","organizations_url":"https://api.github.com/users/posva/orgs","repos_url":"https://api.github.com/users/posva/repos","events_url":"https://api.github.com/users/posva/events{/privacy}","received_events_url":"https://api.github.com/users/posva/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T14:15:08Z","updated_at":"2018-07-02T14:15:08Z","author_association":"MEMBER","body":"If I recall correctly this is planned for v3 and may be added in v2\r\nOther issues #5893, #6079\r\nPR: https://github.com/vuejs/vue/pull/7171, https://github.com/vuejs/vue/pull/8179"}}
{"actor":{"display_login":"posva"}}