odata-v4-metadata
odata-v4-metadata copied to clipboard
LowerCamelCase properties dont work
The OData 4 spec shows class properties such as EntityType.OpenType in UpperCamelCase. But your classes define them as LowerCamelCase (EntityType.openType) As such they are not correctly parsing valid data.
What gives? This is a pretty basic issue. Can't see how this is operator error, but if so please educate me how these classes can work.
Hi @Randy85253, the odata-v4-metadata library works with the Olingo odatajs library JSON format, which is transforming the metadata XML document to JSON and changing all property names to lowerCamelCase. odata-v4-metadata is transforming the plain JSON format to a typed one to be easier to use with TypeScript.