Daniel Horvath created OLINGO-1149:
--------------------------------------
Summary: Function Import should return collection of EDMSimpleType
Key: OLINGO-1149
URL: https://issues.apache.org/jira/browse/OLINGO-1149
Project: Olingo
Issue Type: Bug
Affects Versions: V2 2.0.7
Reporter: Daniel Horvath
Hello Colleagues,
According to the OData V2 specifications function import should be allowed to
return collection of EDMSimpleType:
* If defined in CSDL 1.1, CSDL 2.0, or CSDL 3.0, the Type of FunctionImport
ReturnType MUST be an EDMSimpleType, EntityType, or ComplexType that is in
scope or a collection of one of these in-scope types. In CSDL 1.0, the
ReturnType is a collection of either EDMSimpleType or EntityType.
(From document:
https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MC-CSDL/%5bMC-CSDL%5d.pdf,
Section: 2.1.16 FunctionImport ReturnType, Page 34)
Currently it is not possible. (tested in Olingo 2.0.7)
If you have further questions, please feel free to contact me.
Best regards,
Daniel
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)