AbsBox icon indicating copy to clipboard operation
AbsBox copied to clipboard

refactor on CallWhen

Open yellowbean opened this issue 2 years ago • 0 comments

The call can be described in pure "<Condition>" and "Formula"

image

Here: ,{"poolFactor":0.03}

can be rewrited into a Condition : ["poolFactor,">",0.03], which is more expressiveness

To Do:

  • refactor on Hastructure level , which the callWhen only accepts a Pre
  • to keep backward compatibility, write thin layer of function to convert ,{"poolFactor":0.03} to ["poolFactor,">",0.03]

yellowbean avatar Mar 05 '24 05:03 yellowbean