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

No way to $select instance annotations on primitive types

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.01_ERRATA01
    • Component/s: ABNF, URL Conventions
    • Labels:
      None
    • Environment:

      Proposed

    • Proposal:
      Hide

      In order to support explicitly selecting instance annotations on primitive, enum, and collection-valued properties, we would need to ehance the ABNF to support property annotations as in:

      primitiveAnnotationInQuery = [primitiveProperty] annotationInQuery

      Show
      In order to support explicitly selecting instance annotations on primitive, enum, and collection-valued properties, we would need to ehance the ABNF to support property annotations as in: primitiveAnnotationInQuery = [primitiveProperty] annotationInQuery

      Description

      We added the ability to explicitly $select/$expand an instance annotation by including the annotation in the $select list. However, according to the ABNF, this annotation is of the form @ns.termNamequalifier which makes it impossible to $select an annotation applied to a primitive, enum, or collection-valued property (which would be of the form propertyName@ns.termName):

      primitiveAnnotationInQuery = annotationInQuery
      annotationInQuery = AT [ namespace "." ] termName [ HASH annotationQualifier ]

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: