-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major
-
None
-
Affects Version/s: None
-
Component/s: Vocabularies
-
None
-
Environment:
Applied
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.