Uploaded image for project: 'Nuxeo JS Client'
  1. Nuxeo JS Client
  2. NXJS-138

Rely only on properties object to get/set properties

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Browser, Node.js

      Description

      Investigate if we can get rid of the Document#get and Document#set methods to only rely on the properties object directly.

      The main issue is to check if we can extract the dirty properties when updating the properties object.

      See if we can rely on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy

      If it works, deprecate the old get/set methods and update the documentation.

        Attachments

          Activity

            People

            • Assignee:
              troger Thomas Roger
              Reporter:
              troger Thomas Roger
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: