-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: V4.01_CS01
-
Fix Version/s: V4.01_CS02
-
Labels:None
-
Environment:
Applied
-
Proposal:
-
Resolution:
In ODATA-1034 we added a DerivedTypeConstraint for the purpose of constraining a typedefinition that specified Edm.Primitive to be one of a subset of primitive types (i.e., a string or integer).
While we originally defined this annotation term as being applied to a TypeDefinition, we missed the fact that TypeDefinition was originally defined with an UnderlyingType that precluded Edm.PrimitiveType.
Defining a type definition with an underlying type of Edm.PrimitiveType requires that we also define semantics around what facets can be applied. For example, can MaxLength, Precision, or Scale be applied, and what is the meaning of these facets for instances for which those facets don't apply.
The same semantics need to be defined for a property of type Edm.PrimitiveType.