[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (ODATA-316) Allow omitting properties with null or default values from responses
[ http://tools.oasis-open.org/issues/browse/ODATA-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33367#action_33367 ] Michael Pizzo commented on ODATA-316: ------------------------------------- I think there's an important difference between structural and navigation properties. Today even a simple client can materialize an entity without needing to understand/generate any markup. We lose that if we require that simple client to know about metadata and default values. If we were to do this I would want it something that the client had to opt into, separately from opting into minimal metadata (which, as the name implies, should just be "markup", not data). However, I really think the bits we'd be saving are unlikely to be worth the added complexity of adding another preference or format parameter -- the format parameters for json are already complex enough, and asking for different combinations doesn't scale well as the matrix of options expands. > Allow omitting properties with null or default values from responses > -------------------------------------------------------------------- > > Key: ODATA-316 > URL: http://tools.oasis-open.org/issues/browse/ODATA-316 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Improvement > Components: OData JSON Format > Affects Versions: V4.0_WD01 > Environment: [Proposed] > Reporter: Ralf Handl > Fix For: V4.0_WD01 > > > Properties not present in a request payload are already interpreted as having the default value (if defined in $metadata) or the null value (if nullable and without default value). > Why not allow the same for responses. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]