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

Remove redundant static subscripts on attributes #44

Merged
merged 1 commit into from
May 26, 2022

Conversation

MaxDesiatov
Copy link
Contributor

Some properties in generated code have a layer of indirection due to their use of ReadonlyAttribute and ReadWriteAttribute. There's little value in keeping these static subscripts around and introducing the indirection. Additionally, it makes makes some issues on property code hard to debug when attempting to change union types generation logic in my investigation of #43.

@MaxDesiatov MaxDesiatov added the enhancement New feature or request label May 25, 2022
@MaxDesiatov MaxDesiatov requested a review from a team May 25, 2022 10:05
@MaxDesiatov MaxDesiatov merged commit 8328d41 into main May 26, 2022
@MaxDesiatov MaxDesiatov deleted the maxd/remove-static-subscript branch May 26, 2022 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants