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
As of today, annotations are created by specifying the target in form of a IEdmVocabularyAnnotatable.
The types that implement IEdmVocabularyAnnotatable are all Model elements (e.g. EdmEntityType, EdmNavigationProperty, ... ). But the standard also allows to specify a NavigationPropertyPath (or any model path).
(this is different from specifying a Navigation property since the navigation property can be reached through multiple path).
We then parse this with this .net OData library and get validation errors on the NavigationPropertyBinding that specifies a Path to a NavigationProperty in an EntityType, this should be valid according to latest ODATA, for example this is the kind of error we are getting: "(183, 12): A navigation property could not be found for the path 'Microsoft.OData.SampleService.Models.TripPin.Flight/Airline' starting from the type 'Microsoft.OData.SampleService.Models.TripPin.Person'."
This is quite a problem for us at present, we will very much appreciate it to know whether this issue shall address this problem we are facing, and whether we should raise another issue? And if it does address it, when is it planned for release please?
As of today, annotations are created by specifying the target in form of a IEdmVocabularyAnnotatable.
The types that implement IEdmVocabularyAnnotatable are all Model elements (e.g. EdmEntityType, EdmNavigationProperty, ... ). But the standard also allows to specify a NavigationPropertyPath (or any model path).
(this is different from specifying a Navigation property since the navigation property can be reached through multiple path).
OData CSDL 5.2 Annotations with External Targeting
OData CSDL 14.2.2
and https://issues.oasis-open.org/projects/ODATA/issues/ODATA-1416
describe the details from the perspective of the standard.
Assemblies affected
All versions of Microsoft.OData.Edm
The text was updated successfully, but these errors were encountered: