[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1003) Allow casting of entities and complex type instances to arbitrary structural type
[ https://issues.oasis-open.org/browse/ODATA-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=65573#comment-65573 ] Hubert Heijkers commented on ODATA-1003: ---------------------------------------- After further discussion and taking the new semantics described by MayImplement (ODATA-696) into account, decided to close this issue without further action. > Allow casting of entities and complex type instances to arbitrary structural type > --------------------------------------------------------------------------------- > > Key: ODATA-1003 > URL: https://issues.oasis-open.org/browse/ODATA-1003 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: New Feature > Components: URL Conventions > Affects Versions: V4.0_ERRATA03 > Reporter: Hubert Heijkers > Assignee: Hubert Heijkers > Priority: Minor > Fix For: V4.01_CSD02 > > > Currently we allow casting, by means of a type segment, which implicitly filters or, in expressions in our query options, by using the cast function. > Whereas the cast function allows, optionally, casting to an arbitrary structured type, there is no way to request for an instance of a type and have it, before returning it, be cast to a different arbitrary, typically sibling (read: same base type) type. > BTW if a cast would be not supported/allowed I'd simply expected a 400 Bad Request to be returned by the server. -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]