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

Remove requirement for makeContext closure #352

Draft
wants to merge 1 commit into
base: 2.x.x
Choose a base branch
from

Conversation

adam-fowler
Copy link
Member

If we require Responder.Context: HBRequestContext to conform to HBRequestContext we can remove the need for a makeContext closure

Copy link

codecov bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9f245ce) 83.73% compared to head (a26796c) 83.68%.

Additional details and impacted files
@@            Coverage Diff             @@
##            2.x.x     #352      +/-   ##
==========================================
- Coverage   83.73%   83.68%   -0.05%     
==========================================
  Files          93       93              
  Lines        5059     5052       -7     
==========================================
- Hits         4236     4228       -8     
- Misses        823      824       +1     

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

@Joannis
Copy link
Contributor

Joannis commented Jan 18, 2024

The problem with this is that HBXCTRouter becomes unusable with HBLambda

@adam-fowler
Copy link
Member Author

Yeah but how do you create an HBXCTRouter if the only init requires the context conform HBRequestContext

@adam-fowler adam-fowler marked this pull request as draft January 18, 2024 17:56
@adam-fowler
Copy link
Member Author

@Joannis Given we now have HummingbirdLambdaTesting can I resurrect this PR?

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