-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: V4.0_ERRATA02
-
Fix Version/s: V4.0_ERRATA03
-
Component/s: ABNF, URL Conventions
-
Labels:None
-
Environment:
[Applied]
-
Proposal:
Currently we can use a * on the expand to ask the service to expand all available navigation properties of an entity type. However, it is currently not possible to express the same intend for all navigation properties of a complex type.
For further clarification we might want to document if a $expand=* is intended to expand all the navigation properties of complex types as well and/or if this is recursive, i.o.w. is it to be expected that a navigation property of a complex type in a complex type is to be expanded in that case too.
Our current ABNF doesn't allow us to expand all the navigation properties of a particular sub type either, something one might expect to be able to do too.
So IMHO the following examples should be supported as well:
$expand=ComplexProp/*
$expand=ComplexProp/ComplexProp/*
$expand=ComplexProp/model.type/ComplexProp/*
$expand=model.type/ComplexProp/*
$expand=model.type/ComplexProp/model.type/ComplexProp/*
As with the existing use cases of *, each of these could be followed by either the /$ref or ($levels=max) segments.