Closed cgillum closed 1 year ago
Hi @cgillum , as far as I know, this middleware support is only available on isolated dotnet worker. I wonder for in-pro dotnent worker how durable function register the middleware? Thank you.
@kaibocai the in-process worker allows trigger authors to inject trigger-specific middleware and has a lot of flexibility for controlling inputs and outputs. It’s even more flexible than the .NET Isolated worker (but also much more complicated).
I've added this to the v1.0.0 (STABLE) milestone. The reason for prioritizing it is because it will be difficult to apply this change later.
See https://github.com/Azure/azure-functions-java-worker/issues/595 for reference.
The idea is to simplify the orchestrator function programming model from this:
...to something that looks like this...