Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Microsoft Generator CSharp] Exclude Setter Generation for Collection Properties #4616

Closed
ShivangiReja opened this issue Apr 22, 2024 · 1 comment · Fixed by microsoft/typespec#3233
Assignees
Labels

Comments

@ShivangiReja
Copy link
Member

Collection properties are currently generating setters. To address this, please add logic in the ModelTypeProvider.BuildProperties() method to exclude setter generation for collection properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants