microsoft / microsoft/typespec

Preserve union metadata when back compat preserves a property type

Open
#11,844 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.