microsoft / microsoft/typespec

Tooling to remove a version

Open
#4,841 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.