Skip to content

Allow requirements to replace others#65

Merged
mhatzl merged 1 commit into
mainfrom
mh/replace-reqs
Jul 10, 2026
Merged

Allow requirements to replace others#65
mhatzl merged 1 commit into
mainfrom
mh/replace-reqs

Conversation

@mhatzl

@mhatzl mhatzl commented Jul 10, 2026

Copy link
Copy Markdown
Owner

This PR adds the ability to state that a requirement replaces other requirements.
A replaced requirement is marked as deprecated.

A requirement may be replaced by several requirements and those requirements may themselves be replaced. However, a requirement is not allowed to replace one of its ascendants,
and only requirements in the same product may be replaced.

This is an optional field, so schema files are not affected.
However it is a breaking change for mantra-schema if used as library

A replaced requirement is marked as deprecated
@mhatzl
mhatzl merged commit f3ccf7d into main Jul 10, 2026
2 checks passed
@mhatzl
mhatzl deleted the mh/replace-reqs branch July 10, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant