{"issue":{"created_at":"2011-11-08T14:44:27Z","state":"open","updated_at":"2011-12-09T10:44:02Z","comments":6,"user":{"gravatar_id":"1363d3abc6dadd713cec939a1076f3b0","id":19739,"url":"https://api.github.com/users/dmmalam","avatar_url":"https://secure.gravatar.com/avatar/1363d3abc6dadd713cec939a1076f3b0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"dmmalam"},"body":"Hey, \r\nI have the following schemas ( simplified for issue)\r\n\r\nUser = new Schema \r\n  login:String\r\n\r\nA = new Schema\r\n emb: [B]\r\n comments: [Comments]\r\n\r\n//and following embedded schemas\r\n\r\nB = new Schema\r\n  comments: [Comments]\r\n\r\nComments = new Schema\r\n   creator:\r\n    type: ObjectId\r\n    ref: 'User'\r\n  message: String\r\n\r\n\r\nNow while populate works on A\r\neg A.find().populate('comments.creator')\r\n\r\nit doesn't work on the double nested embedded doc\r\neg A.find().populate('emb.comments.creator')\r\n\r\nAny ideas?\r\n\r\n\r\n","assignee":null,"id":2174853,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":601,"title":"Calling populate on embedded doc of embedded doc","closed_at":null,"html_url":"https://github.com/LearnBoost/mongoose/issues/601","url":"https://api.github.com/repos/LearnBoost/mongoose/issues/601","milestone":null},"action":"created","comment":{"created_at":"2011-12-09T10:44:02Z","updated_at":"2011-12-09T10:44:02Z","user":{"gravatar_id":"1363d3abc6dadd713cec939a1076f3b0","id":19739,"url":"https://api.github.com/users/dmmalam","avatar_url":"https://secure.gravatar.com/avatar/1363d3abc6dadd713cec939a1076f3b0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"dmmalam"},"body":"Does this now work in the latest mongoose release?","id":3077533,"url":"https://api.github.com/repos/LearnBoost/mongoose/issues/comments/3077533"}}