Details
-
User Story
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
Description
In the context of QDS (and also outside of that use case, but especially for QDS), it would be helpful if aliases could specif their desired type, instead of deducing it from the right hand side.
Potential syntax (up to discussion):
property alias int: anId.property
This would help tooling which needs the actual type of the alias, e.g. to show the property editor
Semantically, we still need to decide how this should behave if the type of the RHS doesn't match the specified type of the alias (e.g. hard error, coercion).