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
For situations like in e.g. #2826 we have to include/exclude certain types from union type aliases.
To support this situation, we should introduce a new annotation union_availability which can by places on types. The syntax should copy the availability syntax.
On schema.json level, there should be a new key union_availabilites which contains the defined availabilities. The individual entries should use the Availability type - just like for the regular availabilities dictionary.
Open for discussion:
Should we support the same mechanic for deprecation?
For situations like in e.g. #2826 we have to include/exclude certain types from union type aliases.
To support this situation, we should introduce a new annotation
union_availability
which can by places on types. The syntax should copy theavailability
syntax.On
schema.json
level, there should be a new keyunion_availabilites
which contains the defined availabilities. The individual entries should use theAvailability
type - just like for the regularavailabilities
dictionary.Open for discussion:
Should we support the same mechanic for
deprecation
?cc @pquentin @swallez
The text was updated successfully, but these errors were encountered: