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

2.x.x - Add HBApplication.init(router:...) #329

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

adam-fowler
Copy link
Member

Add HBApplication(router:server:configuration:eventLoopGroupProvider:). Removes requirement for calling buildResponder therefore cleaner API

Need to make HBRouterResponder public and explicitly return it from buildResponder to get this to work

Copy link

codecov bot commented Jan 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (48371bc) 83.13% compared to head (5fd89fa) 83.11%.

❗ Current head 5fd89fa differs from pull request most recent head 41a8228. Consider uploading reports for the commit 41a8228 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##            2.x.x     #329      +/-   ##
==========================================
- Coverage   83.13%   83.11%   -0.02%     
==========================================
  Files          92       91       -1     
  Lines        5009     5009              
==========================================
- Hits         4164     4163       -1     
- Misses        845      846       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Jan 2, 2024

Copy link
Contributor

@Joannis Joannis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely a great improvement to UX

@adam-fowler
Copy link
Member Author

Definitely a great improvement to UX

Is that an approval then 😄 ?

Need to make HBRouterResponder public and explicitly return it from `buildResponder` to get this to work
@adam-fowler adam-fowler merged commit 5b3d342 into 2.x.x Jan 5, 2024
2 of 3 checks passed
@adam-fowler adam-fowler deleted the app-router-init branch January 5, 2024 21:43
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

Successfully merging this pull request may close these issues.

None yet

2 participants