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

[now dev] Fix the path provided to lambda invocations #2036

Merged
merged 1 commit into from
Mar 28, 2019

Conversation

TooTallNate
Copy link
Member

This matches how the Now proxy invokes the lambdas, where the route dest query params are mixed-in to the provided req.url, with the dest query params taking precedence over any conflicting user-provided query params.

This matches how the Now proxy invokes the lambdas, where the route
`dest` query params are mixed-in to the provided `req.url`, with the
dest query params taking precedence over any conflicting user-provided
query params.
@TooTallNate TooTallNate requested review from amio, styfle and leo March 28, 2019 22:42
Copy link
Contributor

@leo leo left a comment

Choose a reason for hiding this comment

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

Looks great!

@TooTallNate TooTallNate merged commit 2068de7 into canary Mar 28, 2019
@TooTallNate TooTallNate deleted the fix/now-dev-req-url-routes branch March 28, 2019 22:55
@codecov-io
Copy link

Codecov Report

Merging #2036 into canary will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           canary   #2036      +/-   ##
=========================================
- Coverage    6.18%   6.15%   -0.04%     
=========================================
  Files          86      86              
  Lines        4072    4079       +7     
=========================================
- Hits          252     251       -1     
- Misses       3820    3828       +8
Impacted Files Coverage Δ
src/util/get-project-name.js 90.9% <0%> (-9.1%) ⬇️
src/util/get-files.js 91.53% <0%> (-5.37%) ⬇️
src/util/read-metadata.js 100% <0%> (ø) ⬆️
src/util/hash.js 100% <0%> (ø) ⬆️
src/util/error.js 100% <0%> (ø) ⬆️

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 33d8650...b1658f6. Read the comment docs.

Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

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

Nice!

TooTallNate added a commit that referenced this pull request Apr 1, 2019
This matches how the Now proxy invokes the lambdas, where the route
`dest` query params are mixed-in to the provided `req.url`, with the
dest query params taking precedence over any conflicting user-provided
query params.
leo pushed a commit that referenced this pull request Apr 1, 2019
This matches how the Now proxy invokes the lambdas, where the route
`dest` query params are mixed-in to the provided `req.url`, with the
dest query params taking precedence over any conflicting user-provided
query params.
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.

4 participants