OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

odata-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: Specification of $count for "Delta Responses"

Hi Marko,

Thank you for the comment!

The OData Technical Committee will process this comment and we will respond back to you soon.

-----Original Message-----
From: odata-comment@lists.oasis-open.org [mailto:odata-comment@lists.oasis-open.org] On Behalf Of Degenkolb, Marko
Sent: Wednesday, May 8, 2013 9:17 AM
To: odata-comment@lists.oasis-open.org
Subject: [odata-comment] Specification of $count for "Delta Responses"

Reading the new specification of "Delta Responses" (http://docs.oasis-open.org/odata/odata-json-format/v4.0/csprd01/odata-json-format-v4.0-csprd01.zip => odata-json-format-v4.0-csprd01.pdf => chapter 14) I have two comments:

1) The way how the $count behavior is defined seems inconsistent with the behavior of $count on "normal" EntitySets. There, $count returns the number of instances in the specified EntitySet. That means, for example, that if $count returns 0 a GET without $count returns an empty feed. With the current specification - not counting added or deleted links - this coherence does not apply anymore.

2) The specification is not clear whether 'the returned count is the count of added, changed, or deleted entities' includes "expanded" entities or not. In the example you mention this would mean: does #4 count or not? In other words, would $count in this example return 2 or 3?

Many thanks, 


This publicly archived list offers a means to provide input to the

OASIS Open Data Protocol (OData) TC.

In order to verify user consent to the Feedback License terms and

to minimize spam in the list archive, subscription is required

before posting.

Subscribe: odata-comment-subscribe@lists.oasis-open.org

Unsubscribe: odata-comment-unsubscribe@lists.oasis-open.org

List help: odata-comment-help@lists.oasis-open.org

List archive: http://lists.oasis-open.org/archives/odata-comment/

Feedback License: http://www.oasis-open.org/who/ipr/feedback_license.pdf

List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

Committee: http://www.oasis-open.org/committees/odata

Join OASIS: http://www.oasis-open.org/join/

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]