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: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.02
    • Component/s: ABNF, URL Conventions
    • Labels:
      None
    • 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:

      selectProperty = primitiveProperty 
                     / primitiveAnnotationInQuery
                     / primitiveProperty primitiveAnnotationInQuery
      

       

      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: selectProperty = primitiveProperty                 / primitiveAnnotationInQuery                / primitiveProperty primitiveAnnotationInQuery  

      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:
              mikep Michael Pizzo
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: