microsoft / microsoft/typespec

Add `@preview`/ `@prerelease` decorator to versioning library

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

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.