Skip to content

Fix duplicate TypeSpec attributes across generic contexts - #582

Open
SychicBoy wants to merge 1 commit into
0xd4d:masterfrom
SychicBoy:fix/issue-581-typespec-attribute-duplication
Open

SychicBoy wants to merge 1 commit into
0xd4d:masterfrom
SychicBoy:fix/issue-581-typespec-attribute-duplication

Conversation

@SychicBoy

Copy link
Copy Markdown

Share custom attributes between TypeSpec objects that represent the same metadata row, and emit them once per output row. This prevents duplicates when the row is referenced from different generic contexts.

Fixes #581.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeSpec custom attributes are duplicated when writing a module

1 participant