You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Harish Reddy (JIRA)" <ji...@apache.org> on 2016/06/22 16:17:57 UTC

[jira] [Commented] (OLINGO-737) Dynamic properties are not serialized

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

Harish Reddy commented on OLINGO-737:
-------------------------------------

I'm not clear on whether this is related to the OData "Open Type" feature or not. As per http://www.odata.org/getting-started/advanced-tutorial/#openType, Open Type appears to be relevant only to writes, but not reads - which is strange. In any case, I suppose dynamic properties would be useful only if they worked  from both a read & write perspective. We have an extremely dynamic schema that we're essentially modeling only as a single static entity type called "Object" and planning to have most properties on it as dynamic, with a minimal set of static properties when convenient. It's not feasible for us to explicitly declare every single entity type and property in our application.

 Is support for dynamic properties on the roadmap for 4.x? 



> Dynamic properties are not serialized
> -------------------------------------
>
>                 Key: OLINGO-737
>                 URL: https://issues.apache.org/jira/browse/OLINGO-737
>             Project: Olingo
>          Issue Type: New Feature
>    Affects Versions: (Java) V4 4.0.0-beta-03
>            Reporter: Richard Ellis
>
> As per the message http://mail-archives.apache.org/mod_mbox/olingo-user/201507.mbox/%3C55953AFA.1000905@linux.vnet.ibm.com%3E dynamic properties are not serialized.
> Specifically the JsonSerializer writeProperties method gets the list of properties from the EntityType not from the Entity itself. Thus if the Entity has additional dynamically added org.apache.olingo.commons.api.data.Property objects they are missed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)