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

Possible Usage Problem of Edm.EntityType in Org.OData.Core.V1.xml #32

Closed
mraineri opened this issue Dec 6, 2018 · 1 comment
Closed

Comments

@mraineri
Copy link

mraineri commented Dec 6, 2018

The ComplexType EntityExampleValue contains a single Property element, and its Type attribute is set to Edm.EntityType. However, the CSDL specification states that for Property elements, the Type attribute must either be a Primitive Type, Complex Type, Enumeration Type, or a Collection of the above. As far as I can tell, Edm.EntityType does not qualify as any of those. Is my understanding of the restriction in the specification correct?

@ralfhandl
Copy link
Contributor

@mraineri Thanks for pointing this out. Your interpretation of the specification is correct, and this use of Edm.EntityType is invalid.

The OData TC will discuss how to fix this.

ralfhandl added a commit that referenced this issue Dec 14, 2018
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