azure-functions-powershell-worker icon indicating copy to clipboard operation
azure-functions-powershell-worker copied to clipboard

New Programming Model - override the new PM Module with managed dependency version

Open andystaples opened this issue 3 years ago • 1 comments

When customer specifies a version of AzureFunctions.PowerShell.SDK in requirements.psd1, it should override the version that was bundled with the worker for indexing. Currently, it will not, as managed dependencies are not loaded until the first function invocation. This module must be available before or during the ProcessFunctionMetadataRequest call.

andystaples avatar Jul 26 '22 21:07 andystaples

For now, we will use the module that is bundled with the language worker.

A second part is to detect if the customer is trying to update AzureFunctions.PowerShell.SDK via requirements.psd1, and if this is the case, fail with an explicit error to the user that they cannot update the module this way.

Francisco-Gamino avatar Jul 27 '22 20:07 Francisco-Gamino