Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
(Java) V4 4.2.0
-
None
Description
As many OData provides doesn't iclude OData Core definitions of "Term, thus the EdmAnnotation.getTerm() retunrs NULLs. One could argue that these are "core" vocabularies they need to be always available with whatever $metadata document, which I agree as they are put forward by the OData Specification. However, right now, Olingo client side library does not automatically add these vocabularies into the Edm object, which does not have any of these "core" terms. Hence users can't read the terms of Entity/Property annotations.
It would help solve pro to request to add them implicitly on client side. BTW, I see the server side MetadataParser does add these implicitly by default.