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

Cannot select dynamic property of a dynamic property #747

Open
ysanghi opened this Issue Jan 10, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@ysanghi
Contributor

ysanghi commented Jan 10, 2017

Select of dynamic properties of dynamic properties is not supported.

Assemblies affected

OData .NET Lib 7.0

Reproduce steps

Try to select dynamic property of a dynamic property on an open type. Let's assume there is an dynamic complex type called 'foo' which has a sub property called 'bar'. Trying to select $select = foo/bar would throw the following error:
Found a path with multiple navigation properties or a bad complex property path in a select clause. Please reword your query such that each level of select or expand only contains either TypeSegments or Properties.

Expected result

No error with a list or stack of path segments.

Actual result

Exceptions is being thrown: Found a path with multiple navigation properties or a bad complex property path in a select clause. Please reword your query such that each level of select or expand only contains either TypeSegments or Properties.

Additional details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment