Lambda Management

Currently all lambdas on Cloud need to be contained within one script section under cloud.dgraph.io/_/lambdas and if running locally, all lambdas need to be contained in a script.js file

It would be great if we can have lambda management capability where we can have multiple lambdas contained in individual files. Locally, this can point to a /lambda folder. In the cloud interface, we can have have a ui + button that creates a new section for a lambda script.

This should be a rather simple implementation as they can be exported to a script.js file behind the scenes automatically for us. This would keep the script.js from getting too bloated if our project has a lot of lambda functions.

1 Like