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

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

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


Subject: [OASIS Issue Tracker] Created: (ODATA-402) Require services to support $expand on navigation properties


Require services to support $expand on navigation properties
------------------------------------------------------------

                 Key: ODATA-402
                 URL: http://tools.oasis-open.org/issues/browse/ODATA-402
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: OData Protocol , OData URL Conventions 
    Affects Versions: V4.0_CSD01
         Environment: [Proposed]
            Reporter: Michael Pizzo
             Fix For: V4.0_CSD01


Today service may or may not support $expand on navigation properties. The service is required to return an error if it can't support $expand, making it difficult for clients to have a consistent way to request that a graph be expanded.

Services are already allowed to return partial results in any collection of entities (including an expanded navigation property) by including a next link in the result. Clients must be prepared for such a next link in any response.

This actually gives a way that a service can trivially support $expand by returning an empty collection with a next link containing the navigation link. The client logic would then kick in and follow the next link in order to get the "rest" of the members. This gives the client a reliable way to ask for the expansion and all services the ability to give the client what they can.

-- 
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]