Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

still needed with latest Hapi? #18

Closed
elf-pavlik opened this issue Feb 22, 2017 · 2 comments
Closed

still needed with latest Hapi? #18

elf-pavlik opened this issue Feb 22, 2017 · 2 comments

Comments

@elf-pavlik
Copy link

https://hapijs.com/api#serverinjectoptions-callback

If no callback is provided, a Promise object is returned.

I started writing test using inject-then and after reading line above just changed s/injectThen/inject/ and it worked just the same. Those two release notes mention support for promisses

@bendrucker
Copy link
Owner

It would appear not, I'll cap the peer range appropriate and add a note to the readme when I get a chance.

@bendrucker
Copy link
Owner

Searched back and found it's added in v12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants