microsoft / microsoft/typespec
Add `@preview`/ `@prerelease` decorator to versioning library
Open
design:needed
lib:versioning
triaged:core
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
This would just be a flag that linter/libraries can rely on to detect if something is a preview and act accordingly.
We could also consider having this as a more generic decorator or directive like `#deprecated` that can mark somehting as experiemental
```
model Foo {
#experimental
#preview
prop: string;
}
```
Contributor guide
Assessment
This issue has not been assessed yet.