{"action":"opened","issue":{"url":"https://api.github.com/repos/Automattic/mongoose/issues/3228","labels_url":"https://api.github.com/repos/Automattic/mongoose/issues/3228/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/mongoose/issues/3228/comments","events_url":"https://api.github.com/repos/Automattic/mongoose/issues/3228/events","html_url":"https://github.com/Automattic/mongoose/issues/3228","id":99015284,"number":3228,"title":"Post Save Hook returning Promise","user":{"login":"thebergamo","id":1778730,"avatar_url":"https://avatars.githubusercontent.com/u/1778730?v=3","gravatar_id":"","url":"https://api.github.com/users/thebergamo","html_url":"https://github.com/thebergamo","followers_url":"https://api.github.com/users/thebergamo/followers","following_url":"https://api.github.com/users/thebergamo/following{/other_user}","gists_url":"https://api.github.com/users/thebergamo/gists{/gist_id}","starred_url":"https://api.github.com/users/thebergamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebergamo/subscriptions","organizations_url":"https://api.github.com/users/thebergamo/orgs","repos_url":"https://api.github.com/users/thebergamo/repos","events_url":"https://api.github.com/users/thebergamo/events{/privacy}","received_events_url":"https://api.github.com/users/thebergamo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-04T17:08:38Z","updated_at":"2015-08-04T17:08:38Z","closed_at":null,"body":"Hi!\r\n\r\nI trying to return a Bluebird promise in Post save() Hook, but when I resolve the saveAsync() method, my post hook is not resolved yet. In my case I create a new document in other collection. After I save this document and my promise are resolved I trying to get the created doc on post hook, but the doc is not created yet.\r\n\r\nHave a way to force the promise in post hook is fulfilled before the save promise?\r\n\r\nThanks in advance!"}}