possible to write pure function in javascript inside chalice?
- Dominant language
- Python
- Stars
- 11.1k
- Forks
- 1k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
i want to create a pure function but the actual code is already in javascript that I want to deploy via chalice
is this possible? how can i pull something like this off, maybe store my javascript somewhere and have chalice upload?
also is it possible to apply @app.routes to this pure lambda function?
```
@app.lambda_function()
def custom_lambda_function(event, context):
console.log('');
var hello = "hello world";
return hello
```
Contributor guide
Research direction
Start with the app.lambda_function() and app.routes() entry points shown in the issue, then inspect how Chalice packages and deploys Python Lambda handlers. Determine whether JavaScript source can be uploaded and invoked, and whether route decorators apply; done requires a confirmed supported workflow or a clearly scoped feature with tests and documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript, python
- Domain
- api, backend, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100