{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vuex/issues/370","repository_url":"https://api.github.com/repos/vuejs/vuex","labels_url":"https://api.github.com/repos/vuejs/vuex/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vuex/issues/370/comments","events_url":"https://api.github.com/repos/vuejs/vuex/issues/370/events","html_url":"https://github.com/vuejs/vuex/issues/370","id":181547256,"number":370,"title":"Examples -> Shopping Cart -> Store Modules - Actions not within module","user":{"login":"webnoob","id":10404747,"avatar_url":"https://avatars.githubusercontent.com/u/10404747?v=3","gravatar_id":"","url":"https://api.github.com/users/webnoob","html_url":"https://github.com/webnoob","followers_url":"https://api.github.com/users/webnoob/followers","following_url":"https://api.github.com/users/webnoob/following{/other_user}","gists_url":"https://api.github.com/users/webnoob/gists{/gist_id}","starred_url":"https://api.github.com/users/webnoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webnoob/subscriptions","organizations_url":"https://api.github.com/users/webnoob/orgs","repos_url":"https://api.github.com/users/webnoob/repos","events_url":"https://api.github.com/users/webnoob/events{/privacy}","received_events_url":"https://api.github.com/users/webnoob/received_events","type":"User","site_admin":false},"labels":[{"id":442396678,"url":"https://api.github.com/repos/vuejs/vuex/labels/2.0","name":"2.0","color":"f9d0c4","default":false},{"id":236854267,"url":"https://api.github.com/repos/vuejs/vuex/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-10-06T23:06:33Z","updated_at":"2016-11-10T05:07:47Z","closed_at":"2016-11-10T05:07:47Z","body":"I feel the example of dealing with stores is a little misleading. After reading the docs, it's advising a modular approach for larger applications. The store example is Ok but you have a module for cart and a module for products but at a base level, you have actions that are specific to each of those. i.e getAllProducts should be an action set against modules/products.js module.\n\nWould the example not serve better if everything that belonged together was in the same modules?\n"},"comment":{"url":"https://api.github.com/repos/vuejs/vuex/issues/comments/259602788","html_url":"https://github.com/vuejs/vuex/issues/370#issuecomment-259602788","issue_url":"https://api.github.com/repos/vuejs/vuex/issues/370","id":259602788,"user":{"login":"ktsn","id":2194624,"avatar_url":"https://avatars.githubusercontent.com/u/2194624?v=3","gravatar_id":"","url":"https://api.github.com/users/ktsn","html_url":"https://github.com/ktsn","followers_url":"https://api.github.com/users/ktsn/followers","following_url":"https://api.github.com/users/ktsn/following{/other_user}","gists_url":"https://api.github.com/users/ktsn/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsn/subscriptions","organizations_url":"https://api.github.com/users/ktsn/orgs","repos_url":"https://api.github.com/users/ktsn/repos","events_url":"https://api.github.com/users/ktsn/events{/privacy}","received_events_url":"https://api.github.com/users/ktsn/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T05:07:47Z","updated_at":"2016-11-10T05:07:47Z","body":"Fixed via #399 "}}
{"actor":{"display_login":"ktsn"}}