Create a Cloud Function using onVelocityAlertPublished.
Define the appId using defineString('APP_ID') from firebase-functions/params.
Attempt to deploy or run the function.
Expected behavior
I expect the function to accept a parameter defined via defineString('APP_ID') for the appId in the onVelocityAlertPublished function configuration.
Actual behavior
When I try to use defineString('APP_ID') to set the appId, the function fails to deploy because it appears to only accept a string literal, not a StringParams.
Were you able to successfully deploy your functions?
Related issues
I couldn't find any related issues.
Version info
node: 20
firebase-functions: 5.0.0
firebase-tools: 13.15.2
Test case
Steps to reproduce
Expected behavior
I expect the function to accept a parameter defined via defineString('APP_ID') for the appId in the onVelocityAlertPublished function configuration.
Actual behavior
When I try to use defineString('APP_ID') to set the appId, the function fails to deploy because it appears to only accept a string literal, not a StringParams.
Were you able to successfully deploy your functions?
No, the deployment fails.