olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronny Bremer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OLINGO-1303) Serializing OpenType dynamic properties
Date Mon, 08 Oct 2018 08:35:00 GMT

    [ https://issues.apache.org/jira/browse/OLINGO-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16641517#comment-16641517
] 

Ronny Bremer commented on OLINGO-1303:
--------------------------------------

So we are on the same page.

I cannot find a documented way to use your own serializer (except to rewrite all of the serializer
code, which I think is ridiculous), so I am going down a very dirty road right now. I will
do a few changes to the XML and JSon serializer implementations to ignore metadata. At least
for a read that should work, however, I think the library needs to add that support in a proper
way.

To answer your question regarding the standard, I found this:
{quote}"The $select system query option requests that the service return only the properties,
dynamic properties, actions and functions explicitly requested by the client."
{quote}in the oasis standard, dated 24.2.2014.
[http://docs.oasis-open.org/odata/odata/v4.0/os/part1-protocol/odata-v4.0-os-part1-protocol.pdf]
 

> Serializing OpenType dynamic properties
> ---------------------------------------
>
>                 Key: OLINGO-1303
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1303
>             Project: Olingo
>          Issue Type: Question
>          Components: odata2-core
>    Affects Versions: (Java) V4 4.5.0
>            Reporter: Peter Lawrence
>            Priority: Blocker
>
> Olingo 4.5.0 includes openType in the metadata, however I cannot see how to enable serializing
of properties that are not included in the metadata (dynamic properties).
> It appears that the results serializer will only serialize those properties that are
declared in the metadata. ... or am I missing something?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message