Functions
check_form_action_contracts
2
list[ContractIssue]
▼
Info when a form POSTs to a route without a FormContract.
Routes that accept P…
check_form_action_contracts
2
list[ContractIssue]
▼
def check_form_action_contracts(template_sources: dict[str, str], router: Router) -> list[ContractIssue]
Info when a form POSTs to a route without a FormContract.
Routes that accept POST without declaring a FormContract may silently ignore form data or lack proper validation. This is INFO-level because many routes legitimately handle form data without a formal contract.
Parameters
| Name | Type | Description |
|---|---|---|
template_sources |
dict[str, str] |
|
router |
Router |
Returns
list[ContractIssue]