Skip to content

Fix duplicate TypeSpec attributes across generic contexts - #582

Merged
wtfsck merged 1 commit into
0xd4d:masterfrom
SychicBoy:fix/issue-581-typespec-attribute-duplication
Nov 1, 2026
Merged

wtfsck merged 1 commit into
0xd4d:masterfrom
SychicBoy:fix/issue-581-typespec-attribute-duplication

Conversation

@SychicBoy

Copy link
Copy Markdown
Contributor

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.

@wtfsck
wtfsck merged commit f0f229f into 0xd4d:master Nov 1, 2026
@wtfsck

wtfsck commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Thanks, it's been merged!

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

2 participants