Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-5075

Provide override options for TS code

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 10.0.0
    • 9.6.0.1, 9.6.2
    • None
    • Security Level: Jean

      User Story

      As an developer, I sometime need to maybe emergency replacements to client-side behaviors in production if an issue is discovered and rolling back is not an option. While a bug ticket is being processed, the ability to change behaviors with zk.override is useful.

       

      However this is difficult to use on code compiled from TypeScript, since the compilation process creates closures, wrapped objects, etc.

       

      Replacing the whole TS file is also difficult, because of two factors:

      • compiling TS is not straightforward, and cannot easily be done by the end-user.
      • replacing code in TS and compiling potentially creates blocking issues during updates, if changes have been made to the TS file since the patch was created.

      Acceptance Criteria

      Providing an option similar to zk.override to access and change behavior in client-side classes compiled from typescript would allow quick-patching.

      Details

      Put document or specification reference

            gordonhsu gordonhsu
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: