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

Clarify uniqueness of bound action and function names

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.01_ERRATA01
    • Component/s: CSDL JSON, CSDL XML
    • Labels:
      None
    • Proposal:
      Hide

      Allow this and add to chapter 5 the following rule right after the sentence on non-colliding type names:

      "Services SHOULD NOT have actions and functions with the same name, and MUST NOT have actions and functions with the same name bound to the same type."

      Show
      Allow this and add to chapter 5 the following rule right after the sentence on non-colliding type names: "Services SHOULD NOT have actions and functions with the same name, and MUST NOT have actions and functions with the same name bound to the same type."
    • Resolution:
      Show
      https://github.com/oasis-tcs/odata-specs/pull/65

      Description

      Can an action bound to entity type A have the same name as a function bound to entity type B?

      Or more general: can an action (import) have the same name as a function (import)?

      Taking the request method and URL into account, it can be unambiguously decided whether the action or function is called.

        Attachments

          Activity

            People

            • Assignee:
              heiko.theissen Heiko Theissen
              Reporter:
              handl Ralf Handl
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: