microsoft / microsoft/typespec

Versioning tooling that render TypeSpec snapshot of a given version

Open
#4,840 3 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

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

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.