microsoft / microsoft/typespec
Preserve union metadata when back compat preserves a property type
Open
emitter:client:csharp
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
Uncovered as part of this [regen](https://github.com/Azure/azure-sdk-for-net/pull/62649). When applying back compat for a property type, we are not applying any current union variant types on the restored BinaryData type.
started work: https://github.com/microsoft/typespec/pull/11839
Contributor guide
Research direction
Start by reviewing the regeneration context in Azure/azure-sdk-for-net#62649 and the ongoing work in microsoft/typespec#11839. Trace the back-compat handling for a property type and its restored BinaryData type; done means current union variant types and metadata are preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100