Closed alzimmermsft closed 1 month ago
The changes look good to me.
Would you update the PatchTest
to include the multi-level polymorhism case? It can be in this pr or the patch pr https://github.com/Azure/autorest.java/blob/main/typespec-tests/src/test/java/com/cadl/patch/PatchClientTest.java#L123
One thing, is that I never tried multi-level discriminator from Swagger. I cannot say whether m4 gives the same code-model.
Adds support for multi-level polymorphism, only with stream style serialization.