microsoft / microsoft/typespec
Versioning tooling that render TypeSpec snapshot of a given 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
There is 2 part to this:
```[tasklist]
- [ ] Functionality
- [ ] Ability to show in IDE directly
```
## Example
- Spec
```tsp
model Foo {
name: string;
@added(Versions.v2)
age: int32;
}
model Bar {
other: T;
}
```
- Potential views
```tsp
// v1
model Foo is Bar {
name: string;
}
```
```tsp
// v1
model Foo is Bar { // we keep the code as much as it was as possible, keeping template calls, model is, op is, etc.)
name: string;
age: int32;
}
```
Contributor guide
Assessment
This issue has not been assessed yet.