Skip to content

Fixing issue where context modifications in authenticators are ignored#157

Merged
casualjim merged 1 commit intogo-openapi:masterfrom
ApogeeCorp:fix/middleware-context
Sep 12, 2019
Merged

Fixing issue where context modifications in authenticators are ignored#157
casualjim merged 1 commit intogo-openapi:masterfrom
ApogeeCorp:fix/middleware-context

Conversation

@rodriguise
Copy link
Copy Markdown
Contributor

This PR address the issue where if the Authenticator adds new http.Request contexts the current it is retained downstream.

Signed-off-by: Rob Rodriguez rob@modelrocket.io

Signed-off-by: Rob Rodriguez <rob@modelrocket.io>
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 12, 2019

Codecov Report

Merging #157 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #157      +/-   ##
==========================================
+ Coverage   80.59%   80.59%   +<.01%     
==========================================
  Files          40       40              
  Lines        2339     2340       +1     
==========================================
+ Hits         1885     1886       +1     
  Misses        348      348              
  Partials      106      106
Impacted Files Coverage Δ
middleware/context.go 70.21% <100%> (+0.1%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a7d474...a983056. Read the comment docs.

1 similar comment
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 12, 2019

Codecov Report

Merging #157 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #157      +/-   ##
==========================================
+ Coverage   80.59%   80.59%   +<.01%     
==========================================
  Files          40       40              
  Lines        2339     2340       +1     
==========================================
+ Hits         1885     1886       +1     
  Misses        348      348              
  Partials      106      106
Impacted Files Coverage Δ
middleware/context.go 70.21% <100%> (+0.1%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a7d474...a983056. Read the comment docs.

@casualjim casualjim merged commit c909caa into go-openapi:master Sep 12, 2019
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