microsoft / microsoft/typespec
Tooling to remove a version
Open
design:needed
ide
lib:versioning
triaged:core
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
Add a new tool that is able to remove a version from a spec and update the annotations to carry over to the next version
```ts
model Foo {
a: string;
@added(Versions.v2)
b: string;
@added(Versions.v3)
c: string;
}
```
and if we remove `v2` the spec would update to
```ts
model Foo {
a: string;
@added(Versions.v3)
b: string;
@added(Versions.v3)
c: string;
}
```
Contributor guide
Assessment
This issue has not been assessed yet.