flowpactworkflow contracts
Rules

FP805 · contract-invalid

A contract file cannot be read (invalid YAML or schema), usually because it was edited by hand or merged badly.

CodeNameCategoryDefault severity
FP805contract-invalidContracts🔴 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:

.github/flowpact/flowpact.config.yml
rules:
  FP805: off
  # or: contract-invalid: error

Explain it in the terminal:

flowpact explain FP805

On this page