Description
openedon Apr 28, 2021
I'm building an open source app to handle comment submission and approval on JamStack sites: Bolt Comments. This is a React app with C# functions.
I'm using a storage account to hold the data and was expecting to use storage queues to decouple invocation of out-bound web hooks from the incoming API calls. This works great in local testing with the SWA CLI so I was fully expecting this to work when deployed to Azure as well, but I'm getting an error while building the project in a GitHub action:
Error in processing api build artifacts: the file 'NotifyNewComment/function.json' has specified an invalid trigger of type 'queueTrigger' and direction ''. Currently, only httpTriggers are supported. Visit https://github.com/Azure/azure-functions-host/wiki/function.json for more information.
The build output is here
- The documentation linked to is not relevant for the error; it actually lists queue triggers as valid triggers.
- I've been unable to find any documentation on what function triggers are actually supported
So, I was fully expecting the queue trigger to work as it does with 'regular' functions projects. As a fallback, I tried to add a timer trigger but found that was not available either.
Are there plans to support other trigger types on the API?