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

Closed
wants to merge 1 commit into 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 ✅

Project coverage is 83.68%. Comparing base (9f245ce) to head (a26796c).

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
Member

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?

@adam-fowler adam-fowler deleted the branch 2.x.x November 2, 2024 09:19
@adam-fowler adam-fowler closed this Nov 2, 2024
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.

2 participants