Additional representation of entity references using (alternate) key properties

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major
    • None
    • Affects Version/s: V4.01_OS
    • Component/s: JSON Format
    • None
    • Hide

      Allow entity references to contain all key fields instead of @id.

      Show
      Allow entity references to contain all key fields instead of @id .

      Entity references are currently represented as a JSON object containing an @id member, e.g.

      {
        "@context": "https://foo/bar/$metadata#$ref",
        "@id": "Orders(10643)"
      }
      

      An easier-to-create and also easier-to-digest representation would be to include instead all properties from either the primary key or one of the declared alternate keys):

      {
        "@context": "https://foo/bar/$metadata#Orders(quux)/$entity",
        "quux": 10643
      }
      

      This is similar to the V4.01 format for deleted entities in delta payloads. If properties other than the key properties are supplied, these are ignored - a reference is not an implicit update.

            Assignee:
            Unassigned
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: