-
-
Notifications
You must be signed in to change notification settings - Fork 800
Closed
Description
If a folder in the multi-folder path to a handler contains a dot the handler won't be found.
Example:
functions:
my_fn:
handler: main.out/my_fn.handler"
events:
- http:
path: my_fn
method: getRunning with:
SLS_DEBUG=* serverless offline --location /path/to/project/Produces the logs:
...
[offline] Loading handler... (/path/to/project/main)
...
Where it clearly truncates the rest of the handler path after the dot.
This is especially critical in projects where compilation occurs and the target output path may contain dots and can't be controlled outside of the compilation tool.
balassy
Metadata
Metadata
Assignees
Labels
No labels