One more thing: currently I run my CI pipeline so I can upgrade lambda server without bringing down the dgraph server. For logic stored as a script it would be possible to upload a new script to dgraph / lambda server (I am not sure if official lambda server works like that). So while designing your WASM solution please allow upgrading the lambda code without bringing dgraph server down.