Skip to content

Internal rewrite to async / await#97

Merged
hueniverse merged 3 commits intohapijs:masterfrom
kanongil:async-await
Sep 19, 2017
Merged

Internal rewrite to async / await#97
hueniverse merged 3 commits intohapijs:masterfrom
kanongil:async-await

Conversation

@kanongil
Copy link
Copy Markdown
Contributor

All internal logic has been rewritten to use async / await.

It is still targets hapi@16 for the interface, but should be simple to update. To fully target v17, all tests needs to be rewritten.

@kanongil kanongil added breaking changes Change that can breaking existing code feature New functionality or improvement labels Sep 19, 2017
@hueniverse hueniverse modified the milestones: 4.2.1, 5.0.0 Sep 19, 2017
@hueniverse hueniverse merged commit 06f87fc into hapijs:master Sep 19, 2017
hueniverse added a commit that referenced this pull request Sep 20, 2017
@hueniverse
Copy link
Copy Markdown
Contributor

@kanongil see my follow up commit.

@kanongil
Copy link
Copy Markdown
Contributor Author

Look good.

Shouldn't the generateResponse() life-cycle methods also be updated to async to complete the conversion?

@hueniverse
Copy link
Copy Markdown
Contributor

Yes, also marshal and prepare... This is a deep rabbit hole...

@lock
Copy link
Copy Markdown

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

breaking changes Change that can breaking existing code feature New functionality or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants