microsoft / microsoft/typespec

[Metadata] Visibility shorthand

Open
#1,175 5 comments 0 reactions 0 assignees View on GitHub
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

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.