Skip to content
This repository has been archived by the owner on Jan 28, 2025. It is now read-only.

fix(sls-next/cdk-construct): defaultBehavior.edgeLambdas only applied to defaultBehavior #1031

Merged
merged 2 commits into from
Apr 29, 2021

Conversation

afenton90
Copy link
Contributor

Passing defaultBehavior.edgeLambdas was being applied to defaultBehavior and to _next/data/* behaviour. Could cause unintended side effects.

… to defaultBehavior

was also applied to _next/data/* behaviour
Copy link
Collaborator

@kirkness kirkness left a comment

Choose a reason for hiding this comment

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

LGTM!

@codecov
Copy link

codecov bot commented Apr 29, 2021

Codecov Report

Merging #1031 (da6f538) into master (f8f694c) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1031      +/-   ##
==========================================
- Coverage   82.31%   82.30%   -0.01%     
==========================================
  Files          69       69              
  Lines        2578     2577       -1     
  Branches      615      615              
==========================================
- Hits         2122     2121       -1     
  Misses        390      390              
  Partials       66       66              
Impacted Files Coverage Δ
...rless-components/nextjs-cdk-construct/src/index.ts 92.85% <100.00%> (-0.13%) ⬇️

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 f8f694c...da6f538. Read the comment docs.

@dphang dphang merged commit a5a0ccd into serverless-nextjs:master Apr 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants