Skip to content

MI-331: Allow handler override in NodejsFunctionFromEntry - #1753

Merged
toddhainsworth merged 1 commit into
mainfrom
feature/MI-331_nodejs-function-from-entry-handler-override
Aug 28, 2026
Merged

MI-331: Allow handler override in NodejsFunctionFromEntry#1753
toddhainsworth merged 1 commit into
mainfrom
feature/MI-331_nodejs-function-from-entry-handler-override

Conversation

@toddhainsworth

Copy link
Copy Markdown
Member

Summary

  • NodejsFunctionFromEntryProps now exposes an optional handler override (typed via NodejsFunctionProps["handler"]) instead of always omitting it
  • Caller-supplied handler takes precedence over the resolved "index.handler" default; omitting it preserves existing behaviour for every current call site
  • Enables handler-wrapping mechanisms (e.g. a Lambda Layer wrapper) that require a fixed handler string

Enables handler-wrapping mechanisms (e.g. a Lambda Layer wrapper) that
require a fixed handler string, while preserving the existing resolved
default for all current callers.
@toddhainsworth
toddhainsworth marked this pull request as ready for review August 28, 2026 04:26
@toddhainsworth
toddhainsworth requested a review from a team as a code owner August 28, 2026 04:26
@toddhainsworth
toddhainsworth merged commit bd1ccdc into main Aug 28, 2026
10 checks passed
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.

3 participants