-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Vocabularies
-
Labels:None
-
Environment:
Applied
-
Proposal:
-
Resolution:
The term DerivedTypeConstraint takes a collection of QualifiedTypeNames. Can these also contain collection-valued types, as in
<Annotation Term="Validation.DerivedTypeConstraint"> <Collection> <String>Edm.PrimitiveType</String> <String>Collection(Edm.PrimitiveType)</String> </Collection> </Annotation>
?
If the declared type is single-valued, derivations cannot be collection-valued.
If the declared type is Collection(ns.T1), which is correct: "@Validation.DerivedTypeConstaint": ["ns.T2"] or "@Validation.DerivedTypeConstaint": ["Collection(ns.T2)"]?
If the declared type is Edm.Untyped, both single- and collection-valued derived types are possible.