microsoft / microsoft/typespec

Support access decorator at the model property level

Open
#8,726 0 comments 0 reactions 0 assignees View on GitHub
emitter:client:csharp
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

We currently don't support TCGC's [access decorator](https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/reference/decorators/#@Azure.ClientGenerator.Core.access) at the model property level. We should consider supporting it as it is a valid use case to want to do this via client.tsp vs writing custom code to achieve the same thing. Currently, TCGC only supports `public` or `internal`.

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.