{"action":"created","issue":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2435","repository_url":"https://api.github.com/repos/nuxt/nuxt.js","labels_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2435/labels{/name}","comments_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2435/comments","events_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2435/events","html_url":"https://github.com/nuxt/nuxt.js/issues/2435","id":283896667,"node_id":"MDU6SXNzdWUyODM4OTY2Njc=","number":2435,"title":"asyncData called on child pages that have not been included in parent","user":{"login":"silverbackdan","id":25174262,"node_id":"MDQ6VXNlcjI1MTc0MjYy","avatar_url":"https://avatars0.githubusercontent.com/u/25174262?v=4","gravatar_id":"","url":"https://api.github.com/users/silverbackdan","html_url":"https://github.com/silverbackdan","followers_url":"https://api.github.com/users/silverbackdan/followers","following_url":"https://api.github.com/users/silverbackdan/following{/other_user}","gists_url":"https://api.github.com/users/silverbackdan/gists{/gist_id}","starred_url":"https://api.github.com/users/silverbackdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverbackdan/subscriptions","organizations_url":"https://api.github.com/users/silverbackdan/orgs","repos_url":"https://api.github.com/users/silverbackdan/repos","events_url":"https://api.github.com/users/silverbackdan/events{/privacy}","received_events_url":"https://api.github.com/users/silverbackdan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-12-21T14:21:38Z","updated_at":"2018-11-02T11:12:30Z","closed_at":"2018-01-07T11:55:50Z","author_association":"CONTRIBUTOR","body":"If there is a child page where the parent has not included a <nuxt-child /> the child will still run the asyncData function.\r\n\r\nHere is a repro:\r\nhttps://subdued-pest.glitch.me\r\nhttps://glitch.com/edit/#!/subdued-pest?path=pages/_page1/_page2/_page2.vue:13:9\r\n\r\nShould the asyncData functions for pages/child pages only be run when the child is actually included/required?\r\n\r\nI think in this scenario it is because the child page also matches the route but I can't be sure that's why.\n\n<!--cmty--><!--cmty_prevent_hook-->\n<div align=\"right\"><sub><em>This question is available on <a href=\"https://nuxtjs.cmty.io\">Nuxt.js</a> community (<a href=\"https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2111\">#c2111</a>)</em></sub></div>"},"comment":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/comments/435346252","html_url":"https://github.com/nuxt/nuxt.js/issues/2435#issuecomment-435346252","issue_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2435","id":435346252,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTM0NjI1Mg==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-02T11:12:30Z","updated_at":"2018-11-02T11:12:30Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}