Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-636

Clarify that complex types and arrays can only be passed to functions through parameter aliases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_OS
    • Fix Version/s: V4.0_ERRATA01
    • Component/s: CSDL XML, Protocol
    • Labels:
      None
    • Environment:

      [Applied]

      Description

      complex types and arrays can be passed by value to functions as JSON, however the structure of the JSON may contain characters (urls, types prefixed with "#", etc.) which are not valid in the path of the URL. Thus, complex types/arrays may only be passed by value as parameters using a parameter alias (whose value is passed as a query option).

      This is supported from the ABNF, but it takes some digging to figure out. It would be good to call this out in the prose.

        Attachments

          Activity

            People

            • Assignee:
              mikep Michael Pizzo
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: