Azure / autorest.java

Extension for AutoRest (https://github.com/Azure/autorest) that generates Java code
MIT License
32 stars 80 forks source link

Fix polymorphic XML stream-style serialization #2761

Closed alzimmermsft closed 1 month ago

alzimmermsft commented 1 month ago

Fixes an issue where XML stream-style serialization was serializing and deserializing the polymorphic property multiple times. This was due to a recent change where polymorphic properties are now retained as formal properties within the ClientModel rather than being inferred. Resulting in a polymorphic property each time there was a super type and again for the model itself.