You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has limitation as middleware is getting the payload that already got transferred to String type. Middleware may want to use the original type of parameter payload which build by java worker. I see from two advantages of this approach:
Give more fliexibility to middleware when they want to play around the input parameter payload, not only restrict payload type to String.
Reduce the repeat work we already did in the worker - convert the payload type from GRPC type to corresponding java type. Currently without this we are trying to did the same worker for middleware only different we convert all GRPC type to String.
For today's middleware support logics we are convert the parameter payload to String for middleware to consume during the invocation request at
azure-functions-java-worker/src/main/java/com/microsoft/azure/functions/worker/binding/ExecutionContextDataSource.java
Line 120 in 679e561
This has limitation as middleware is getting the payload that already got transferred to String type. Middleware may want to use the original type of parameter payload which build by java worker. I see from two advantages of this approach:
Attached the potential PR here https://github.com/Azure/azure-functions-java-worker/tree/kaibocai/v5-bench
Potential break changes:
azure-functions-java-worker/src/main/java/com/microsoft/azure/functions/worker/broker/ParameterResovler.java
Line 23 in 305a00a
The text was updated successfully, but these errors were encountered: