-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update SupportsDeferredBinding diagnostic code & update docs (#1377)
- Loading branch information
1 parent
4e8b57a
commit 94bb624
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# AZFW0009: Invalid use of SupportsDeferredBinding attribute | ||
|
||
| | Value | | ||
|-|-| | ||
| **Rule ID** |AZFW0009| | ||
| **Category** |[Usage]| | ||
| **Severity** |Error| | ||
|
||
## Cause | ||
|
||
This rule is triggered when the `SupportsDeferredBinding` attribute is used on any class other | ||
than an input (`InputBindingAttribute`) or trigger (`TriggerBindingAttribute`) binding based class. | ||
|
||
## Rule description | ||
|
||
The `SupportsDeferredBinding` attribute is used to determine if a binding supports deferred binding. | ||
Currently, this feature is only supported for input and trigger bindings. Output bindings are not supported | ||
and this attribute should not be used on any other class type. | ||
|
||
## How to fix violations | ||
|
||
Remove the use of the `SupportsDeferredBinding` attribute from your class. | ||
|
||
## When to suppress warnings | ||
|
||
This rule should not be suppressed because this error may prevent your Azure Functions from running. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters