We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Today, there is no cases for Discriminated types in https://github.com/Azure/cadl-ranch/tree/main/packages/cadl-ranch-specs/http/type/model/inheritance
Based on https://microsoft.github.io/typespec/standard-library/discriminated-types, we should add test cases for
@discriminator("kind") union Pet { cat: Cat, dog: Dog, } model Cat { kind: "cat"; meow: int32; } model Dog { kind: "dog"; bark: string; }
The text was updated successfully, but these errors were encountered:
ArcturusZhang
No branches or pull requests
Today, there is no cases for Discriminated types in https://github.com/Azure/cadl-ranch/tree/main/packages/cadl-ranch-specs/http/type/model/inheritance
Based on https://microsoft.github.io/typespec/standard-library/discriminated-types, we should add test cases for
The text was updated successfully, but these errors were encountered: