Closed ralfhandl closed 1 month ago
Currently the type of Core.OptionalParameter/DefaultValue is Edm.String:
Edm.String
https://github.com/oasis-tcs/odata-vocabularies/blob/42ef2348939e9b4623d1a8aedd80b4c1686d4c6a/vocabularies/Org.OData.Core.V1.xml#L512
Change this to Edm.PrimitiveType to allow specifying a type-compatible default value without relying on type cast from a string value.
Edm.PrimitiveType
TC 2024-08-28: it works as is, has been this way for seven years now, and changing it risks breaking clients if new services use types other than String for their default values.
Currently the type of Core.OptionalParameter/DefaultValue is
Edm.String
:https://github.com/oasis-tcs/odata-vocabularies/blob/42ef2348939e9b4623d1a8aedd80b4c1686d4c6a/vocabularies/Org.OData.Core.V1.xml#L512
Change this to
Edm.PrimitiveType
to allow specifying a type-compatible default value without relying on type cast from a string value.