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

Ability to provide context from middlewares #2011

Merged
merged 32 commits into from
Mar 13, 2023
Merged

Ability to provide context from middlewares #2011

merged 32 commits into from
Mar 13, 2023

Conversation

vigoo
Copy link
Contributor

@vigoo vigoo commented Feb 21, 2023

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Mar 11, 2023

Codecov Report

Patch coverage: 71.59% and project coverage change: +0.03 🎉

Comparison is base (c1ff62b) 62.50% compared to head (d1c29cf) 62.53%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2011      +/-   ##
==========================================
+ Coverage   62.50%   62.53%   +0.03%     
==========================================
  Files         206      207       +1     
  Lines        6027     6038      +11     
  Branches      231      232       +1     
==========================================
+ Hits         3767     3776       +9     
- Misses       2260     2262       +2     
Impacted Files Coverage Δ
.../src/main/scala/zio/http/codec/ContentCodecs.scala 0.00% <ø> (ø)
...tp/src/main/scala/zio/http/codec/SimpleCodec.scala 0.00% <ø> (ø)
...scala/zio/http/endpoint/internal/MemoizedZIO.scala 100.00% <ø> (ø)
...ain/scala/zio/http/middleware/RequestLogging.scala 0.00% <ø> (ø)
zio-http/src/main/scala/zio/http/ZCompose.scala 16.66% <16.66%> (ø)
...tp/src/main/scala/zio/http/HttpAppMiddleware.scala 46.15% <46.15%> (ø)
...o-http/src/main/scala/zio/http/HandlerAspect.scala 66.66% <66.66%> (-13.34%) ⬇️
...http/src/main/scala/zio/http/middleware/Auth.scala 77.50% <71.42%> (-4.65%) ⬇️
...io/http/middleware/RequestHandlerMiddlewares.scala 70.96% <78.94%> (ø)
...main/scala/zio/http/RequestHandlerMiddleware.scala 82.60% <82.60%> (ø)
... and 7 more

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@vigoo vigoo marked this pull request as ready for review March 13, 2023 07:56
@vigoo vigoo merged commit 6f1aa90 into main Mar 13, 2023
@vigoo vigoo deleted the middleware-context branch March 13, 2023 16:29
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.

Feature: A middleware can produce value that can be propagated thru the next handlers
3 participants