ui5-migration icon indicating copy to clipboard operation
ui5-migration copied to clipboard

[FEATURE][WIP] Add replacer for jQuery.sap.extend

Open devtomtom opened this issue 6 years ago • 1 comments

Still WIP...

devtomtom avatar Sep 10 '19 14:09 devtomtom

There are many ways to solve this.

  1. enhance replaceGlobals to be able to change the dependencies dynamically after the replacement. But changing this rather static logic requires quite some thoughts
  2. Use addMissingDependencies with custom finder, replacer and extender (dynamic dependency decision in replacer).
  3. Use addMissingDependencies with custom finder, replacer and extender (dynamic dependency decision in replacer, config passed then to extender).
  4. Use addMissingDependencies with custom finder, replacer and extender (dynamic dependency decision in finder, specific replacer for each decision with extender).

Slide3 Slide4

tobiasso85 avatar Oct 04 '19 12:10 tobiasso85