Union Type Wrappers

Add typed getters and setters over BinaryData properties that represent TypeSpec union types in generated Java models. Use when generated classes expose BinaryData for union-typed fields and you need ergonomic, type-safe accessors instead.

Azure Updated 2.6k repo stars

File contents

Azure/azure-sdk-for-java commit 6389dbc15c

Frequently asked questions

npx get-skill add azure-azure-sdk-for-java/union-type-wrappers