where, the property 'Name' only contains the instance annotations.
ODL can read the above properties and output the 'ODataReaderState.NestedPropertyInfo' in the reading pipeline.
The ASP.NET Core OData payload reading process doesn't handle the "NestedPropertyInfo", that means the properties without value are ignored. The result is that the end user can't handle such properties even he customizes the resource deserializer.
Additional context
Be noted, so far ODL 8.1 also reads the 'primitive type property without value into the 'ODataResourceBase.Properties', but not for other type properties.
Assemblies affected Which assemblies and versions are known to be affected e.g. ASP.NET Core OData 9.x
Describe the bug
ODL supports to read the property without value. Here's an example:
where, the property 'Name' only contains the instance annotations.
ODL can read the above properties and output the 'ODataReaderState.NestedPropertyInfo' in the reading pipeline.
The ASP.NET Core OData payload reading process doesn't handle the "NestedPropertyInfo", that means the properties without value are ignored. The
result
is that the end user can't handle such properties even he customizes the resource deserializer.Additional context Be noted, so far ODL 8.1 also reads the 'primitive type property without value into the 'ODataResourceBase.Properties', but not for other type properties.