{"action":"closed","issue":{"url":"https://api.github.com/repos/feathersjs/feathers/issues/914","repository_url":"https://api.github.com/repos/feathersjs/feathers","labels_url":"https://api.github.com/repos/feathersjs/feathers/issues/914/labels{/name}","comments_url":"https://api.github.com/repos/feathersjs/feathers/issues/914/comments","events_url":"https://api.github.com/repos/feathersjs/feathers/issues/914/events","html_url":"https://github.com/feathersjs/feathers/issues/914","id":341320994,"node_id":"MDU6SXNzdWUzNDEzMjA5OTQ=","number":914,"title":"Allow $populate in params query when Get/Remove","user":{"login":"tissiwb","id":34353209,"node_id":"MDQ6VXNlcjM0MzUzMjA5","avatar_url":"https://avatars1.githubusercontent.com/u/34353209?v=4","gravatar_id":"","url":"https://api.github.com/users/tissiwb","html_url":"https://github.com/tissiwb","followers_url":"https://api.github.com/users/tissiwb/followers","following_url":"https://api.github.com/users/tissiwb/following{/other_user}","gists_url":"https://api.github.com/users/tissiwb/gists{/gist_id}","starred_url":"https://api.github.com/users/tissiwb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tissiwb/subscriptions","organizations_url":"https://api.github.com/users/tissiwb/orgs","repos_url":"https://api.github.com/users/tissiwb/repos","events_url":"https://api.github.com/users/tissiwb/events{/privacy}","received_events_url":"https://api.github.com/users/tissiwb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-15T13:26:46Z","updated_at":"2018-07-19T05:55:49Z","closed_at":"2018-07-19T05:55:49Z","author_association":"NONE","body":"### Steps to reproduce\r\n\r\n```\r\n// Client\r\napp.service('tasks').get(id, {\r\n    query: {\r\n      $select: ['name', 'creator_id'],\r\n      $populate: {\r\n        creator: [['name']],\r\n      },\r\n    },\r\n  }).then(result => {\r\n    console.log(result)\r\n})\r\n\r\n```\r\n\r\n```\r\n// Hook\r\nfastJoin(context => {\r\n\r\n    return {\r\n      joins: {\r\n        creator: {\r\n          resolver: $select => {\r\n\r\n            let users = context.app.service('users')\r\n\r\n            return async task => task.creator = (await users.find({\r\n              query: {\r\n                id: task.creator_id,\r\n                $select: $select,\r\n              },\r\n\r\n              paginate: false,\r\n\r\n            }))[0]\r\n\r\n          },\r\n        },\r\n      },\r\n    }\r\n\r\n  }, context => context.params.query.$populate)\r\n```\r\n\r\n### Expected behavior\r\nTask name with author name\r\n\r\n### Actual behavior\r\nError `No record found for id '${id}'`"}}
{"actor":{"display_login":"daffl"}}