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

feat: allow headers to accept fn #897

Merged
merged 2 commits into from
May 10, 2021

Conversation

anshumanv
Copy link
Member

@anshumanv anshumanv commented May 7, 2021

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

Headers can now accept fn

Breaking Changes

no

Additional Info

Fix #890 fix #892

@codecov
Copy link

codecov bot commented May 7, 2021

Codecov Report

Merging #897 (9116e75) into master (594dddc) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #897   +/-   ##
=======================================
  Coverage   98.58%   98.59%           
=======================================
  Files          10       10           
  Lines         282      284    +2     
  Branches       99      100    +1     
=======================================
+ Hits          278      280    +2     
  Misses          4        4           
Impacted Files Coverage Δ
src/middleware.js 100.00% <100.00%> (ø)

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 594dddc...9116e75. Read the comment docs.

@anshumanv anshumanv closed this May 7, 2021
@anshumanv anshumanv reopened this May 7, 2021
Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

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

Let's add test and when send the same PR to dev server, because we have the headers option on dev server level too

@anshumanv
Copy link
Member Author

wip 👍

Copy link
Member

@snitin315 snitin315 left a comment

Choose a reason for hiding this comment

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

Thanks!

@alexander-akait alexander-akait merged commit 966afb3 into webpack:master May 10, 2021
@anshumanv anshumanv deleted the headers-fn branch May 10, 2021 14:42
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

4 participants