{"action":"created","issue":{"url":"https://api.github.com/repos/prescottprue/redux-firestore/issues/48","repository_url":"https://api.github.com/repos/prescottprue/redux-firestore","labels_url":"https://api.github.com/repos/prescottprue/redux-firestore/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/prescottprue/redux-firestore/issues/48/comments","events_url":"https://api.github.com/repos/prescottprue/redux-firestore/issues/48/events","html_url":"https://github.com/prescottprue/redux-firestore/issues/48","id":286472889,"node_id":"MDU6SXNzdWUyODY0NzI4ODk=","number":48,"title":"feat(query): support for populate on queries","user":{"login":"muhammadsayuti","id":15306516,"node_id":"MDQ6VXNlcjE1MzA2NTE2","avatar_url":"https://avatars3.githubusercontent.com/u/15306516?v=4","gravatar_id":"","url":"https://api.github.com/users/muhammadsayuti","html_url":"https://github.com/muhammadsayuti","followers_url":"https://api.github.com/users/muhammadsayuti/followers","following_url":"https://api.github.com/users/muhammadsayuti/following{/other_user}","gists_url":"https://api.github.com/users/muhammadsayuti/gists{/gist_id}","starred_url":"https://api.github.com/users/muhammadsayuti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhammadsayuti/subscriptions","organizations_url":"https://api.github.com/users/muhammadsayuti/orgs","repos_url":"https://api.github.com/users/muhammadsayuti/repos","events_url":"https://api.github.com/users/muhammadsayuti/events{/privacy}","received_events_url":"https://api.github.com/users/muhammadsayuti/received_events","type":"User","site_admin":false},"labels":[{"id":709789322,"node_id":"MDU6TGFiZWw3MDk3ODkzMjI=","url":"https://api.github.com/repos/prescottprue/redux-firestore/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":709789323,"node_id":"MDU6TGFiZWw3MDk3ODkzMjM=","url":"https://api.github.com/repos/prescottprue/redux-firestore/labels/help%20wanted","name":"help wanted","color":"33aa3f","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-01-06T09:38:29Z","updated_at":"2018-11-09T22:14:37Z","closed_at":"2018-11-08T09:29:31Z","author_association":"NONE","body":"Do you have any thought about making populate feature for this like in react-redux-firebase ?\r\n\r\nWhile subcollection is good but based on the documentation said:\r\nLimitations: You can't easily delete subcollections, or perform compound queries across subcollections.\r\n\r\nWell if you want me to help i have some sample to make this work that i take from your pupulate.js file in react-redux-firebase with some additional features like:\r\n- nested object populate\r\n- populate as different child name using as property in populate object\r\n- populate object inside array\r\n\r\nJust let me know if you're interested."},"comment":{"url":"https://api.github.com/repos/prescottprue/redux-firestore/issues/comments/437511644","html_url":"https://github.com/prescottprue/redux-firestore/issues/48#issuecomment-437511644","issue_url":"https://api.github.com/repos/prescottprue/redux-firestore/issues/48","id":437511644,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzUxMTY0NA==","user":{"login":"prescottprue","id":2992224,"node_id":"MDQ6VXNlcjI5OTIyMjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2992224?v=4","gravatar_id":"","url":"https://api.github.com/users/prescottprue","html_url":"https://github.com/prescottprue","followers_url":"https://api.github.com/users/prescottprue/followers","following_url":"https://api.github.com/users/prescottprue/following{/other_user}","gists_url":"https://api.github.com/users/prescottprue/gists{/gist_id}","starred_url":"https://api.github.com/users/prescottprue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prescottprue/subscriptions","organizations_url":"https://api.github.com/users/prescottprue/orgs","repos_url":"https://api.github.com/users/prescottprue/repos","events_url":"https://api.github.com/users/prescottprue/events{/privacy}","received_events_url":"https://api.github.com/users/prescottprue/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T22:14:37Z","updated_at":"2018-11-09T22:14:37Z","author_association":"OWNER","body":"@MattJakeman That is the intention with populate. Many users want to be able to still access the separate un populated data (makes sense since it was queried), so the data is loaded into state just like with normal listeners (dispatch of LISTENER_RESPONSE). Then you use the `populate` utility to build your populated object from the different pieces of state. The settings you pass to it are the same as what you passed to `populates` in the query config.\r\n\r\nThere is more about why and the examples in [the populate section of the docs](http://react-redux-firebase.com/docs/populate.html) as well as under the [populate part of the recipes section](http://react-redux-firebase.com/docs/recipes/populate.html)."}}
{"actor":{"display_login":"prescottprue"}}