You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Oliver Grande (Jira)" <ji...@apache.org> on 2023/04/20 09:34:00 UTC

[jira] [Created] (OLINGO-1596) Not able to serialize count for collection properties

Oliver Grande created OLINGO-1596:
-------------------------------------

             Summary: Not able to serialize count for collection properties
                 Key: OLINGO-1596
                 URL: https://issues.apache.org/jira/browse/OLINGO-1596
             Project: Olingo
          Issue Type: Bug
          Components: odata4-server
    Affects Versions: (Java) V4 4.9.0
            Reporter: Oliver Grande


Lets assume that I have an entity parent, which has a collection property children. In case the client likes to request the collection property together with the count, he can send the following request:
{code:java}
...\parent('xyz')\children?$count=true{code}
The request is correctly parst, but the result can not be {color:#000000}serialized, as there is no way to provide the count result to ODataSerializer#{color:#000000}complexCollection or  ODataSerializer#primitiveCollection respectivly. 


 

 

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)