microsoft / microsoft/typespec
[Metadata] Visibility shorthand
Open
design:needed
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
There is a lot of confusion that there is a visiblity("read") but no visibility("write"). It would be nice if "write" could be defined as a sort of "macro" that is equivalent to ["create", "update"] somehow. Failing that, we might need a linter to say "write" is probably not what you meant.
We might also want a visibility that applies to all parameters, like "request" that is equivalent to ["create", "query", "update", "delete"].
Contributor guide
Assessment
This issue has not been assessed yet.