olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Horvath (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OLINGO-1149) Function Import should return collection of EDMSimpleType
Date Thu, 06 Jul 2017 15:23:00 GMT
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)

Mime
View raw message