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

Feature Request: Recursive Directory Searching for function.json

Open shawnwildermuth opened this issue 11 months ago • 1 comments

This is currently on the nodejs and the python function roadmap and I'd love to see it here. I have clients that need this funcitonality. To be specific:

This works:

app/
├─ SomeFunction
│  ├─ function.json
│  ├─ run.ps1
├─ Other Function
│  ├─ function.json
│  ├─ run.ps1

I think this should:

app/
│  ├─ functions
│  ├─ SomeFunction
│  │  ├─ function.json
│  │  ├─ run.ps1
│  ├─ Other Function
│  │  ├─ function.json
│  │  ├─ run.ps1

I'd be happy for a special subfolder called functions/ if that is easier or to be able to configure the root of your function would work too, but recursive search I think would be best.

shawnwildermuth avatar Mar 01 '24 23:03 shawnwildermuth

@shawnwildermuth -- Thank you for reaching out. We are working on a new programming model for PowerShell Functions in which would recursively search for all your PowerShell files starting at the function app root. I will update this issue once the new programming model is on public preview.

Francisco-Gamino avatar Mar 20 '24 20:03 Francisco-Gamino