Azure / azure-functions-powershell-library

MIT License
2 stars 3 forks source link

Defaults hard-coded in the binding classes implemented from IBinding #8

Closed andystaples closed 2 years ago

andystaples commented 2 years ago

The "smart" defaults that we are relying on, such as binding names and types, are hardcoded in the IBinding implementation as variables. This will not only make exposing them to the customer quite difficult but may also lead to documentation mistakes and/or mismatches elsewhere in the code. Ideally these would be refactored somewhere common.

andystaples commented 2 years ago

Constants file declared, all string constants refactored to this file