Azure / Azure/azure-functions-powershell-worker

Update documentations accordingly for the design change brought in by PR 214

Open
#225 1 comment 0 reactions 1 assignee Claimed by @eamonoreilly View on GitHub
Dominant language
C#
Stars
215
Forks
61
Avg merge
21h 4m
Merged PRs (30d)
6

Description

A design change was brought in by #214: function scripts are not deployed as actual PowerShell functions in memory. When an invocation request comes in, the in-memory functions are invoked instead of invoking the `.ps1` file directly. The purpose of this change is to avoid accessing the `.ps1` file on disk, which is very slow because it's actually the user's storage account mounted on the file system. More information about the change can be found in the PR description of #214.

Documentation needs to be updated to reflect this design change. Also this design change make `$MyInvocation.MyCommand` points to a `FunctionInfo` object instead of a `ExternalScriptInfo` object like before the change. This breaking change should be called out too.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.