bendrucker/hapi-as-promised — pull request #2 by phated (2014-11-10 22:14:12+00:00)
Title: support response schema validation after promise resolves

Response schema validation happens after `onPostHandler` and before `onPreResponse`. If you want to use response schema validation with hapi-as-promised, everything currently explodes. This change (with test included) allows the promise to resolve before checking against validation.