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

Type cast after a collection of complex type property doesn't work #457

Closed
xuzhg opened this issue Feb 1, 2016 · 2 comments
Closed

Type cast after a collection of complex type property doesn't work #457

xuzhg opened this issue Feb 1, 2016 · 2 comments
Assignees

Comments

@xuzhg
Copy link
Member

xuzhg commented Feb 1, 2016

For example:

~/Windows(3)/Shapes/NS.Circle

Windows is an entity set of "Window" entity type which has a collection of complex type property named Shapes". The complex type is Shape. Circle is complex type derived from Shape.

The Uri parser parse the above Uri, will throw exception as:

"Type cast segment NS.Circle' after a collection which is not of entity type is not allowed."

Please investigate.

@xuzhg xuzhg changed the title Type cast after a collection of complex type property doesn't not work Type cast after a collection of complex type property doesn't work Feb 1, 2016
@chinadragon0515 chinadragon0515 self-assigned this Feb 3, 2016
@chinadragon0515
Copy link
Contributor

The segment part is fixed, and the select clause will be fixed with another pull request.

@chinadragon0515
Copy link
Contributor

Select clause is fixed with 1d4667f, close the issue.

xuzhg added a commit to OData/WebApi that referenced this issue Aug 9, 2016
Verify the ODL has fixed issue "Type cast after a collection of complex
type property doesn't work" See:
OData/odata.net#457
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