子文件夹中的 Azure 函数

Azure functions in sub folders

是否可以将您的 azure 函数分组到子文件夹中。您的 function.json 的位置似乎需要

/{functionName}/function.json

我想要这样的东西

/{category}/{functionName}/function.json

当我尝试这个时,虽然没有检测到该功能

很遗憾,您无法更改 function.json 的位置。

但是,您可以使用 function.jsonscriptFile 属性 来引用其他位置的函数代码文件。