Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LowerCamelCase properties dont work #3

Open
Randy85253 opened this issue Apr 30, 2017 · 1 comment
Open

LowerCamelCase properties dont work #3

Randy85253 opened this issue Apr 30, 2017 · 1 comment

Comments

@Randy85253
Copy link

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.

@lazarv
Copy link
Contributor

lazarv commented Aug 22, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants