Async NodeJS lambda handlers should have a maximum of two parameters, not three.
Open
bug
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
Currently, we recognize exported NodeJS functions with three or fewer parameters as potential lamdba handlers. For asynchronous functions, we should lower this limit to two.
Contributor guide
Research direction
Locate the logic that recognizes exported NodeJS functions as Lambda handlers and any existing coverage for asynchronous handlers. Reproduce the current three-parameter behavior, then verify that asynchronous handlers accept at most two parameters while the existing synchronous behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, node.js, typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100