Open Xriuk opened 2 weeks ago
@Xriuk Seems like the error in the writer validation and no in the select clause. I'm curious, does the same endpoint return the response correctly if you remove the $select
query option from the url?
@habbes Yes, the endpoint returns the correct response without the $select
query option, or with just $select=Locale
where it correctly returns Locale: null
, so it is a nesting problem.
Assemblies affected ASP.NET Core OData 8.2.4
Describe the bug A
$select
path targeting a non-nullable property inside a nullable complex property (with null value) of an entity throws:Reproduce steps A GET request to:
Throws:
Data Model
EDM (CSDL) Model