Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1323

OData v4.0: Context url should have navigation properties within when expanded

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • (Java) V4 4.5.0
    • (Java) V4 4.6.0
    • odata4-server
    • None

    Description

      According to the specification,

      If a an entity is expanded and projected (or contains a $expand with a $select expand option), the parenthesized comma-separated list of selected properties includes the name of the expanded navigation properties containing a nested $select, each suffixed with the parenthesized comma-separated list of properties selected (or expanded with a nested $select) from the related entities.

      From Specification Part 2: It is also possible to expand all declared and dynamic navigation properties using a star *

      Hence in such case the context url should mention all the expanded properties as well.

      Attachments

        Activity

          People

            archanarai Archana Rai
            archanarai Archana Rai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: