Rules
FP805 · contract-invalid
A contract file cannot be read (invalid YAML or schema), usually because it was edited by hand or merged badly.
| Code | Name | Category | Default severity |
|---|---|---|---|
FP805 | contract-invalid | Contracts | 🔴 error |
Why it matters
An unreadable contract cannot be compared, so drift and breaking changes go unnoticed.
How to fix
Contracts are generated: resolve the merge by running flowpact generate instead of editing the file.
Configure
Change the severity (or turn the rule off) in .github/flowpact/flowpact.config.yml, by code or by name:
rules:
FP805: off
# or: contract-invalid: errorExplain it in the terminal:
flowpact explain FP805