Model proposal relationships
eventcatalog@5.21.0Ideas change. A team accepts a proposal and builds it. Later, the team finds a better approach and writes a new proposal. Use supersedes and supersededBy to link the two proposals.

Supersedes and supersededBy
Add supersedes to the new proposal. Give the id of the proposal that it replaces:
---
id: real-time-search-indexing
version: 1.0.0
status: accepted
supersedes:
- id: hourly-search-reindex
---
You can also add supersededBy to the old proposal:
---
id: hourly-search-reindex
version: 1.0.0
status: accepted
supersededBy:
- id: real-time-search-indexing
---
You only have to add the link on one proposal. EventCatalog finds the link in the other direction.
Link to a specific version
EventCatalog links to the latest version of a proposal. To link to a specific version, add the version field:
supersedes:
- id: hourly-search-reindex
version: 1.0.0
A link to a specific version applies to that version only. Other versions of the old proposal do not show the link.
How relationships appear
EventCatalog shows the relationships in these locations:
- Supersedes in the sidebar of the new proposal. It lists the proposals that the new proposal replaces.
- Superseded by in the sidebar of the old proposal. It lists the proposals that replace the old proposal.
- A warning banner at the top of the old proposal page. The banner links to each proposal that replaces it.
To hide the Supersedes and Superseded by sections, use detailsPanel:
detailsPanel:
relationships:
visible: false