Skip to content

Feature flags for lambda_http #497

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

Merged
merged 5 commits into from
Jul 6, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix file names
Signed-off-by: David Calavera <david.calavera@gmail.com>
  • Loading branch information
calavera committed Jul 4, 2022
commit 43badb2b16ee5ec2e1a12e69e7a89f55127553e0
6 changes: 3 additions & 3 deletions lambda-http/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ mod tests {
fn deserializes_minimal_apigw_http_request_events() {
// from the docs
// https://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-api-gateway-request
let input = include_str!("../tests/data/apigw_http_proxy_request_minimal.json");
let input = include_str!("../tests/data/apigw_v2_proxy_request_minimal.json");
let result = from_str(input);
assert!(
result.is_ok(),
Expand Down Expand Up @@ -480,7 +480,7 @@ mod tests {
fn deserializes_apigw_http_request_events() {
// from the docs
// https://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-api-gateway-request
let input = include_str!("../tests/data/apigw_http_proxy_request.json");
let input = include_str!("../tests/data/apigw_v2_proxy_request.json");
let result = from_str(input);
assert!(
result.is_ok(),
Expand Down Expand Up @@ -629,7 +629,7 @@ mod tests {
// * Change the function code to return the Lambda event serialized
// * sam local start-api
// * Invoke the API
let input = include_str!("../tests/data/apigw_http_sam_local.json");
let input = include_str!("../tests/data/apigw_v2_sam_local.json");
let result = from_str(input);
assert!(
result.is_ok(),
Expand Down