You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A complex type with a property of type Edm.PropertyPath leads to an error. But this type (and others, like Edm.NavigationPropertyPath) can occur in OData V4 services as type of an annotation term.
Version of the Project affected
ODataConnectedService 2022+ v1.0.1
Microsoft Visual Studio Professional 2022 (64-bit) v17.5.4
Microsoft.Odata.Client v7.15.0
Marking this as a feature request because the library doesn't currently have any suitable representation for Edm.PropertyPath as type property. It's not clear what code should be generated for this. We'll have to do some design work on this. Maybe we should create a custom type to represent Edm.PropertyPath in CLR objects.
Describe the bug
A complex type with a property of type
Edm.PropertyPath
leads to an error. But this type (and others, likeEdm.NavigationPropertyPath
) can occur in OData V4 services as type of an annotation term.Version of the Project affected
ODataConnectedService 2022+ v1.0.1
Microsoft Visual Studio Professional 2022 (64-bit) v17.5.4
Microsoft.Odata.Client v7.15.0
To Reproduce
Import the following OData V4 metadata:
Expected behavior
Generation of a working C# OData client.
Actual behavior
An error occurs:
Screenshots
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: