[
https://issues.apache.org/jira/browse/OLINGO-919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215978#comment-15215978
]
Christian Amend commented on OLINGO-919:
----------------------------------------
[~rareddy] The proptocol part[1] of "invoking a function" restricts this
behaviour in my opinion though: "Additional path segments and system query
options may be appended to a URL or a path segment that identifies a composable
function (or function import) as appropriate for the type returned by the
function (or function import)."
This excludes path system query options like $count or $value after non
composable functions in my opinion. But here again it is unclear if this also
includes the system query options like $filter, $select, $format etc.
Maybe this is a question for the Oasis mailing list. I won`t get to build the
release today so we should clarify this before we built it.
[1]
http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-protocol/odata-v4.0-errata02-os-part1-protocol-complete.html#_Toc406398352
> $count is not supported as last segment on Functions/Actions
> ------------------------------------------------------------
>
> Key: OLINGO-919
> URL: https://issues.apache.org/jira/browse/OLINGO-919
> Project: Olingo
> Issue Type: Bug
> Components: odata4-server
> Affects Versions: (Java) V4 4.1.0
> Reporter: Ramesh Reddy
> Assignee: Christian Amend
>
> See more details on OLINGO-915
> When function (including function imports) and action (and AI ) return
> collection values, then that url can end with $count. For reference see [1]
> [1]
> http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-url-conventions/odata-v4.0-errata02-os-part2-url-conventions-complete.html#_Toc406398093
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)