You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, there isn't a good way to represent the inclusion of the breed property on only a specific item-type in the pets array, like you could in TypeScript. This requires schema support for discriminated unions.
The text was updated successfully, but these errors were encountered:
We have a use-case where the data-model represents an array with a
type
discriminate:However, there isn't a good way to represent the inclusion of the
breed
property on only a specific item-type in thepets
array, like you could in TypeScript. This requires schema support for discriminated unions.The text was updated successfully, but these errors were encountered: