Azure / Azure/azure-functions-powershell-worker

Feature Request: function.json setting to allow additional parameters beyond input bindings

Open
#539 0 comments 0 reactions 1 assignee Claimed by @Francisco-Gamino View on GitHub
investigation
Dominant language
C#
Stars
215
Forks
61
Avg merge
21h 4m
Merged PRs (30d)
6

Description

I often want to have parameters defined that aren't input bindings, that may pull from other things such as application settings or azure key vault, and all the rich parameter validation that comes with `Mandatory`, `ValidateNotNullOrEmpty`, etc.

Currently I have to do this in the body of my function which results in a lot of "if" statements to do validation, etc.

There should be a function.json setting which will allow additional parameters beyond the input bindings, but still throw an error if there is a input binding that doesn't have a matching parameter.

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.